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:09 UTC
[couchdb] branch jenkins-elixir-retry-until-flakes created (now
1708c9c)
This is an automated email from the ASF dual-hosted git repository.
kocolosk pushed a change to branch jenkins-elixir-retry-until-flakes
in repository https://gitbox.apache.org/repos/asf/couchdb.git.
at 1708c9c Give async insert more time to complete
This branch includes the following new commits:
new aeac36f Give resharding more time to complete
new 1708c9c Give async insert more time to complete
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[couchdb] 01/02: Give resharding more time to complete
Posted by ko...@apache.org.
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
[couchdb] 02/02: Give async insert more time to complete
Posted by ko...@apache.org.
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 1708c9c0a2b4d4078da68dac4ccc39df7c808c65
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Sat Aug 17 09:28:39 2019 -0400
Give async insert more time to complete
---
test/elixir/test/batch_save_test.exs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/elixir/test/batch_save_test.exs b/test/elixir/test/batch_save_test.exs
index 030fcdf..48830a2 100644
--- a/test/elixir/test/batch_save_test.exs
+++ b/test/elixir/test/batch_save_test.exs
@@ -37,6 +37,6 @@ defmodule BatchSaveTest do
retry_until(fn ->
Couch.get("/#{db_name}").body["doc_count"] == expected_doc_count
- end)
+ end, 200, 30_000)
end
end