You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2016/07/18 07:06:02 UTC
couchdb commit: updated refs/heads/clean-dev-run-startup to 9620ff6
[Forced Update!]
Repository: couchdb
Updated Branches:
refs/heads/clean-dev-run-startup 999355555 -> 9620ff68e (forced update)
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/clean-dev-run-startup
Commit: 9620ff68e19920d08a05a0d3254dc6dfbc93a7f8
Parents: d0b8d79
Author: Nick Vatamaniuc <va...@gmail.com>
Authored: Mon Jul 18 02:33:41 2016 -0400
Committer: Nick Vatamaniuc <va...@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