summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2017-06-03 19:33:47 +0200
committerJan Lehnardt <jan@apache.org>2017-06-03 21:34:13 +0200
commitb09273f8ff07f22dd5a3b0df34352390fb364fea (patch)
treec76df26708c5966a1541477a4d28f7d81336b486
parent0be155cb7e81a4c9b9c1aa3fab74da85c8886fd4 (diff)
downloadcouchdb-b09273f8ff07f22dd5a3b0df34352390fb364fea.tar.gz
feat(test): separate timeouts
-rw-r--r--src/couch/test/couchdb_os_daemons_tests.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/couch/test/couchdb_os_daemons_tests.erl b/src/couch/test/couchdb_os_daemons_tests.erl
index 917b344e6..9e8be5fc3 100644
--- a/src/couch/test/couchdb_os_daemons_tests.erl
+++ b/src/couch/test/couchdb_os_daemons_tests.erl
@@ -41,6 +41,7 @@
-define(TRIES, 20).
-define(TRY_DELAY_MS, 100).
-define(TIMEOUT, 10000).
+-define(CONFIG_TIMEOUT, 1000).
setup(DName) ->
@@ -164,7 +165,7 @@ should_read_write_config_settings_by_daemon(DName, _) ->
?_test(begin
% have to wait till daemon run all his tests
% see daemon's script for more info
- timer:sleep(?TIMEOUT),
+ timer:sleep(?CONFIG_TIMEOUT),
{ok, [D]} = couch_os_daemons:info([table]),
check_daemon(D, DName)
end).