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:55:39 UTC
[couchdb] branch prototype/fdb-layer 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 prototype/fdb-layer
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/prototype/fdb-layer by this push:
new e48da92 Fix a flaky fdbcore index test
e48da92 is described below
commit e48da9279b660f9e67d04dc504f17e5e1b9855d5
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