couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vatam...@apache.org
Subject couchdb commit: updated refs/heads/master to 9620ff6
Date Mon, 18 Jul 2016 07:08:25 GMT
Repository: couchdb
Updated Branches:
  refs/heads/master d0b8d792b -> 9620ff68e


Clean up ./dev/run output

If connection succeeds eventually, don't report spurious error when retrying.

Turns `./dev/run` output from this:

```
[ * ] Check node at http://127.0.0.1:15984/ ... failed: [Errno socket error] [Errno 111] Connection
refused
[ * ] Check node at http://127.0.0.1:25984/ ... ok
[ * ] Check node at http://127.0.0.1:35984/ ... ok
[ * ] Check node at http://127.0.0.1:15984/ ... ok
```

to this:

```
[ * ] Check node at http://127.0.0.1:15984/ ... ok
[ * ] Check node at http://127.0.0.1:25984/ ... ok
[ * ] Check node at http://127.0.0.1:35984/ ... ok
```

Cleaner and a bit less scary for new developers.


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

Branch: refs/heads/master
Commit: 9620ff68e19920d08a05a0d3254dc6dfbc93a7f8
Parents: d0b8d79
Author: Nick Vatamaniuc <vatamane@gmail.com>
Authored: Mon Jul 18 02:33:41 2016 -0400
Committer: Nick Vatamaniuc <vatamane@gmail.com>
Committed: Mon Jul 18 03:05:52 2016 -0400

----------------------------------------------------------------------
 dev/run | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/9620ff68/dev/run
----------------------------------------------------------------------
diff --git a/dev/run b/dev/run
index fc1bab2..2a9ca3f 100755
--- a/dev/run
+++ b/dev/run
@@ -359,6 +359,7 @@ def check_node_alive(url):
             error = exc
             time.sleep(1)
         else:
+            error = None
             break
     if error is not None:
         raise error


Mime
View raw message