diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2011-02-02 19:11:28 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2011-02-02 19:11:28 +0000 |
commit | f8c7e2a63e6244a209c9db34b332c276c8bee8de (patch) | |
tree | 574025bccb9cf09f16f9caea488e70d9f4f67c5c /test/etap/180-http-proxy.ini | |
parent | 8fe7d459e535acdb1f2975532b6f1248f5089596 (diff) |
Make server listen on an unused port during unit tests
This prevents the tests from failing when another instance of CouchDB
is already running on the same machine.
Also merging in the fixup of the _error resource from r1066590.
COUCHDB-1049
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1066591 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/etap/180-http-proxy.ini')
-rw-r--r-- | test/etap/180-http-proxy.ini | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/etap/180-http-proxy.ini b/test/etap/180-http-proxy.ini index 72a63f66..3e2ba137 100644 --- a/test/etap/180-http-proxy.ini +++ b/test/etap/180-http-proxy.ini @@ -15,6 +15,6 @@ ; specific language governing permissions and limitations ; under the License. +; 49151 is IANA Reserved, let's assume no one is listening there [httpd_global_handlers] -_test = {couch_httpd_proxy, handle_proxy_req, <<"http://127.0.0.1:5985/">>} -_error = {couch_httpd_proxy, handle_proxy_req, <<"http://127.0.0.1:5986/">>}
\ No newline at end of file +_error = {couch_httpd_proxy, handle_proxy_req, <<"http://127.0.0.1:49151/">>} |