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/random_port.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/random_port.ini')
-rw-r--r-- | test/etap/random_port.ini | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/etap/random_port.ini b/test/etap/random_port.ini new file mode 100644 index 00000000..ada3c13d --- /dev/null +++ b/test/etap/random_port.ini @@ -0,0 +1,19 @@ +; Licensed to the Apache Software Foundation (ASF) under one +; or more contributor license agreements. See the NOTICE file +; distributed with this work for additional information +; regarding copyright ownership. The ASF licenses this file +; to you under the Apache License, Version 2.0 (the +; "License"); you may not use this file except in compliance +; with the License. You may obtain a copy of the License at +; +; http://www.apache.org/licenses/LICENSE-2.0 +; +; Unless required by applicable law or agreed to in writing, +; software distributed under the License is distributed on an +; "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +; KIND, either express or implied. See the License for the +; specific language governing permissions and limitations +; under the License. + +[httpd] +port = 0 |