couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [09/10] couchdb commit: updated refs/heads/master to 82d2eb1
Date Sat, 23 Apr 2016 10:26:05 GMT
Improve retry_part for changes test


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/82d2eb12
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/82d2eb12
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/82d2eb12

Branch: refs/heads/master
Commit: 82d2eb1209f506be7034bdf0ef2644068e0f389d
Parents: 46620bd
Author: sebastianro <sebastianro@apache.org>
Authored: Fri Apr 15 12:40:59 2016 +0200
Committer: Jan Lehnardt <jan@apache.org>
Committed: Sat Apr 23 12:25:33 2016 +0200

----------------------------------------------------------------------
 test/javascript/couch_test_runner.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/82d2eb12/test/javascript/couch_test_runner.js
----------------------------------------------------------------------
diff --git a/test/javascript/couch_test_runner.js b/test/javascript/couch_test_runner.js
index 60228cf..1d53255 100644
--- a/test/javascript/couch_test_runner.js
+++ b/test/javascript/couch_test_runner.js
@@ -490,7 +490,7 @@ function retry_part(fct, n) {
   n = n || 3;
   for(var i=1; i<=n; i++){
     try {
-      fct();
+      return fct();
     }catch(e){
       if(i<n){
         continue;


Mime
View raw message