You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2020/04/29 17:52:30 UTC
[couchdb] branch fix-fdb-index-flaky-test updated: Fix a flaky
fdbcore index test
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch fix-fdb-index-flaky-test
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/fix-fdb-index-flaky-test by this push:
new a36f073 Fix a flaky fdbcore index test
a36f073 is described below
commit a36f07329eb37a76e5606a1c31bff47ce12de4a0
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Wed Apr 29 13:52:04 2020 -0400
Fix a flaky fdbcore index test
---
src/fabric/test/fabric2_index_tests.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/fabric/test/fabric2_index_tests.erl b/src/fabric/test/fabric2_index_tests.erl
index e0c3e8b..fa3a14d 100644
--- a/src/fabric/test/fabric2_index_tests.erl
+++ b/src/fabric/test/fabric2_index_tests.erl
@@ -35,7 +35,7 @@ index_test_() ->
?TDEF(single_update),
?TDEF(multiple_updates),
?TDEF(skip_db_if_no_ddocs),
- ?TDEF(ignore_deleted_dbs),
+ ?TDEF(ignore_deleted_dbs, 10),
?TDEF(check_gen_server_messages)
])
}
@@ -163,7 +163,7 @@ ignore_deleted_dbs(#{}) ->
lists:foreach(fun(_) ->
RandomDbName = fabric2_util:uuid(),
fabric2_index:db_updated(RandomDbName)
- end, lists:seq(1, 10000)),
+ end, lists:seq(1, 1000)),
test_util:wait(fun() ->
case table_sizes() =:= 0 of