You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2019/08/17 13:29:10 UTC
[couchdb] 01/02: Give resharding more time to complete
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a commit to branch jenkins-elixir-retry-until-flakes
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit aeac36fc79a5f4badc4bafa1fbd034b3f8877ea3
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Sat Aug 17 09:26:25 2019 -0400
Give resharding more time to complete
---
test/elixir/test/reshard_helpers.exs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/elixir/test/reshard_helpers.exs b/test/elixir/test/reshard_helpers.exs
index 52ce301..282d98c 100644
--- a/test/elixir/test/reshard_helpers.exs
+++ b/test/elixir/test/reshard_helpers.exs
@@ -92,7 +92,7 @@ defmodule ReshardHelpers do
end
def wait_job_removed(id) do
- retry_until(fn -> get_job(id).status_code == 404 end, 200, 10_000)
+ retry_until(fn -> get_job(id).status_code == 404 end, 200, 60_000)
end
def wait_job_completed(id) do
@@ -100,7 +100,7 @@ defmodule ReshardHelpers do
end
def wait_job_state(id, state) do
- retry_until(fn -> get_job_state(id) == state end, 200, 10_000)
+ retry_until(fn -> get_job_state(id) == state end, 200, 60_000)
end
def reset_reshard_state do