summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2011-10-04 12:22:45 -0400
committerAdam Kocoloski <adam@cloudant.com>2011-10-04 12:22:45 -0400
commit4e19639a64d3033e1cc7c22a0b7404d277643c78 (patch)
tree8056ed80809c30ec4c63c616b285852e048aebc1 /test
parent33b60bad036c5268120b0d96f6a4abed6e35b7dc (diff)
parente77949221f63a011787118637cb549abfbd8e5e8 (diff)
Merge remote branch 'apache/1.1.x'
Diffstat (limited to 'test')
-rwxr-xr-xtest/etap/072-cleanup.t8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/etap/072-cleanup.t b/test/etap/072-cleanup.t
index 61790bc6..6f97193d 100755
--- a/test/etap/072-cleanup.t
+++ b/test/etap/072-cleanup.t
@@ -41,7 +41,6 @@ main(_) ->
test() ->
{ok, _} = couch_server_sup:start_link(test_util:config_files()),
- ok = application:start(inets),
couch_server:delete(?TEST_DB, []),
timer:sleep(1000),
@@ -110,11 +109,8 @@ db_url() ->
binary_to_list(?TEST_DB).
query_view(DDoc, View) ->
- {ok, {{_, Code, _}, _Headers, _Body}} = http:request(
- get,
- {db_url() ++ "/_design/" ++ DDoc ++ "/_view/" ++ View, []},
- [],
- [{sync, true}]),
+ {ok, Code, _Headers, _Body} = test_util:request(
+ db_url() ++ "/_design/" ++ DDoc ++ "/_view/" ++ View, [], get),
etap:is(Code, 200, "Built view index for " ++ DDoc ++ "."),
ok.