summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBessenyei Balázs Donát <bessbd@apache.org>2021-04-06 15:02:38 +0200
committerBessenyei Balázs Donát <bessbd@users.noreply.github.com>2021-04-08 19:21:03 +0200
commit90cbb8e35ed3a4d861ad51c1cdd71f0bd9a1adaf (patch)
tree9d3f56757f8eb71fdd6784c61a693bfbfee4123e
parent37b5eed5024b9a57a134260794ea80032a1149f8 (diff)
downloadcouchdb-90cbb8e35ed3a4d861ad51c1cdd71f0bd9a1adaf.tar.gz
Increase timeouts for flaky tests
Increase timeout for continuous filtered changes with doc ids and for eventsource changes
-rw-r--r--test/elixir/test/changes_async_test.exs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/elixir/test/changes_async_test.exs b/test/elixir/test/changes_async_test.exs
index f4f79cfd3..26a0c5037 100644
--- a/test/elixir/test/changes_async_test.exs
+++ b/test/elixir/test/changes_async_test.exs
@@ -93,7 +93,7 @@ defmodule ChangesAsyncTest do
create_doc_bar(db_name, "bar")
- changes = process_response(req_id.id, &parse_event/1, 3000)
+ changes = process_response(req_id.id, &parse_event/1, 5000)
assert length(changes) == 2
assert Enum.at(changes, 0)["id"] == "foo"
@@ -174,7 +174,7 @@ defmodule ChangesAsyncTest do
req_id =
Rawresp.get(
- "/#{db_name}/_changes?feed=continuous&filter=changes_filter/bop&timeout=1000",
+ "/#{db_name}/_changes?feed=continuous&filter=changes_filter/bop&timeout=2000",
stream_to: self(),
direct: worker_pid
)
@@ -216,7 +216,7 @@ defmodule ChangesAsyncTest do
:ok = wait_for_headers(req_id.id, 200)
create_doc(db_name, %{_id: "doc3", value: 3})
- changes = process_response(req_id.id, &parse_changes_line_chunk/1, 3000)
+ changes = process_response(req_id.id, &parse_changes_line_chunk/1, 5000)
changes_ids =
changes