summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsebastianro <sebastianro@apache.org>2016-04-15 12:40:59 +0200
committerJan Lehnardt <jan@apache.org>2016-04-23 12:25:33 +0200
commit82d2eb1209f506be7034bdf0ef2644068e0f389d (patch)
tree2f4b66480c676fb29c1fffc5a4617f957f7f0c62
parent46620bdb031106f922b611449d68b8ce5a06f144 (diff)
downloadcouchdb-82d2eb1209f506be7034bdf0ef2644068e0f389d.tar.gz
Improve retry_part for changes test
-rw-r--r--test/javascript/couch_test_runner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/javascript/couch_test_runner.js b/test/javascript/couch_test_runner.js
index 60228cf0d..1d53255b3 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;