couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject couchdb commit: updated refs/heads/master to 126ec76
Date Sun, 23 Nov 2014 00:24:25 GMT
Repository: couchdb
Updated Branches:
  refs/heads/master 76c14490d -> 126ec7682


Fix check nodes startup

Never test dev/run script with CouchDB running on 5984 port.


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

Branch: refs/heads/master
Commit: 126ec7682020ad3c08966e4aef03ce02e9b14f7f
Parents: 76c1449
Author: Alexander Shorin <kxepal@apache.org>
Authored: Sun Nov 23 03:22:55 2014 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Sun Nov 23 03:22:55 2014 +0300

----------------------------------------------------------------------
 dev/run | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/126ec768/dev/run
----------------------------------------------------------------------
diff --git a/dev/run b/dev/run
index 94732e9..ada5492 100755
--- a/dev/run
+++ b/dev/run
@@ -152,6 +152,7 @@ def setup_configs(ctx):
 
 
 def get_ports(idnode):
+    assert idnode
     return ((10000 * idnode) + 5984, (10000 * idnode) + 5986)
 
 
@@ -255,7 +256,7 @@ def ensure_nodes_stated(ctx):
 
 def all_nodes_alive(ctx):
     for num in range(ctx['N']):
-        local_port, _ = get_ports(num)
+        local_port, _ = get_ports(num + 1)
         url = "http://127.0.0.1:{0}/".format(local_port)
         while True:
             try:


Mime
View raw message