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/19 00:56:12 UTC

[couchdb] 01/04: Give resharding more time to complete

This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 08075fd3f0e5477e892678874cfc2319b21de951
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