couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [1/2] couch commit: updated refs/heads/master to 1279da6
Date Wed, 30 Sep 2015 17:47:43 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master f1bb186eb -> 1279da6fe


Fix chttpd port usage


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

Branch: refs/heads/master
Commit: 1279da6fe8830ef2ab21915f0a4b728255d93fb4
Parents: 4aac44d
Author: Alexander Shorin <kxepal@apache.org>
Authored: Wed Sep 30 20:41:53 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Wed Sep 30 20:46:01 2015 +0300

----------------------------------------------------------------------
 test/global_changes_tests.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/1279da6f/test/global_changes_tests.erl
----------------------------------------------------------------------
diff --git a/test/global_changes_tests.erl b/test/global_changes_tests.erl
index d6f3350..cf01676 100644
--- a/test/global_changes_tests.erl
+++ b/test/global_changes_tests.erl
@@ -122,7 +122,7 @@ delete_admin(User) ->
 
 get_host() ->
     Addr = config:get("httpd", "bind_address", "127.0.0.1"),
-    Port = config:get("chttpd", "port", "5984"),
+    Port = integer_to_list(mochiweb_socket_server:get(chttpd, port)),
     Host = "http://" ++ Addr ++ ":" ++ Port,
     Host.
 


Mime
View raw message