This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit b09273f8ff07f22dd5a3b0df34352390fb364fea
Author: Jan Lehnardt <jan@apache.org>
AuthorDate: Sat Jun 3 19:33:47 2017 +0200
feat(test): separate timeouts
---
src/couch/test/couchdb_os_daemons_tests.erl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/couch/test/couchdb_os_daemons_tests.erl b/src/couch/test/couchdb_os_daemons_tests.erl
index 917b344..9e8be5f 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).
--
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <commits@couchdb.apache.org>.
|