diff options
author | Jan Lehnardt <jan@apache.org> | 2017-06-03 19:33:47 +0200 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2017-06-03 19:33:47 +0200 |
commit | 9412af738758a0fc5f7ff6fb19195877aed71e75 (patch) | |
tree | 243ecca66d9ed279f896061b938247fed150040b | |
parent | 432a4862956d734fbf2c67c82b072f3f9fb51db9 (diff) | |
download | couchdb-fix/571/increase-test-timeout.tar.gz |
feat(test): separate timeoutsfix/571/increase-test-timeout
-rw-r--r-- | src/couch/test/couchdb_os_daemons_tests.erl | 3 |
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). |