You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2017/06/03 17:33:53 UTC

[couchdb] branch fix/571/increase-test-timeout updated: feat(test): separate timeouts

This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch fix/571/increase-test-timeout
in repository https://gitbox.apache.org/repos/asf/couchdb.git

The following commit(s) were added to refs/heads/fix/571/increase-test-timeout by this push:
       new  9412af7   feat(test): separate timeouts
9412af7 is described below

commit 9412af738758a0fc5f7ff6fb19195877aed71e75
Author: Jan Lehnardt <ja...@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" <co...@couchdb.apache.org>'].