You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/06/02 23:05:59 UTC

[couchdb] branch master updated: JS test: wait even longer for restartServer on slow VMs

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

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

The following commit(s) were added to refs/heads/master by this push:
       new  8f7b91a   JS test: wait even longer for restartServer on slow VMs
8f7b91a is described below

commit 8f7b91a6a7f5f77ddd4d26d281357be53dfcd6ad
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Fri Jun 2 19:05:45 2017 -0400

    JS test: wait even longer for restartServer on slow VMs
---
 test/javascript/test_setup.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/javascript/test_setup.js b/test/javascript/test_setup.js
index 567848d..0d27461 100644
--- a/test/javascript/test_setup.js
+++ b/test/javascript/test_setup.js
@@ -78,9 +78,9 @@ function getUptime() {
 
 function restartServer() {
   var olduptime = getUptime();
-  if (olduptime < 5) {
+  if (olduptime < 15) {
     // handle quick-restarts, though this slows things down
-    sleep(5000);
+    sleep(15000);
     olduptime = getUptime();
   }
   print('restart');

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].