summaryrefslogtreecommitdiff
path: root/test/etap/140-attachment-comp.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/etap/140-attachment-comp.t')
-rwxr-xr-xtest/etap/140-attachment-comp.t7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/etap/140-attachment-comp.t b/test/etap/140-attachment-comp.t
index 21922f99..bf1b21c4 100755
--- a/test/etap/140-attachment-comp.t
+++ b/test/etap/140-attachment-comp.t
@@ -13,9 +13,6 @@
% License for the specific language governing permissions and limitations under
% the License.
-default_config() ->
- test_util:build_file("etc/couchdb/default_dev.ini").
-
test_db_name() ->
<<"couch_test_atts_compression">>.
@@ -33,9 +30,9 @@ main(_) ->
ok.
test() ->
- couch_server_sup:start_link([default_config()]),
+ couch_server_sup:start_link(test_util:config_files()),
put(addr, couch_config:get("httpd", "bind_address", "127.0.0.1")),
- put(port, couch_config:get("httpd", "port", "5984")),
+ put(port, integer_to_list(mochiweb_socket_server:get(couch_httpd, port))),
application:start(inets),
timer:sleep(1000),
couch_server:delete(test_db_name(), []),