From 69e03ccc8e6e39750943e298d633acb4650e56b7 Mon Sep 17 00:00:00 2001 From: Adam Kocoloski Date: Fri, 28 Aug 2009 13:05:48 +0000 Subject: fix pattern matching bug in redirects for replication if opening the DB returns 301, use the new URL for the rest of the replication git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@808876 13f79535-47bb-0310-9956-ffa450edef68 --- test/etap/110-replication-httpc.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/etap/110-replication-httpc.t b/test/etap/110-replication-httpc.t index 3c454e25..2bc140f6 100755 --- a/test/etap/110-replication-httpc.t +++ b/test/etap/110-replication-httpc.t @@ -44,7 +44,7 @@ main(_) -> code:add_pathz("src/mochiweb"), code:add_pathz("src/erlang-oauth"), - etap:plan(7), + etap:plan(6), case (catch test()) of ok -> etap:end_tests(); @@ -129,5 +129,5 @@ test_qs() -> test_db_exists() -> Req1 = #http_db{url=server() ++ dbname() ++ "/"}, Req2 = #http_db{url=server() ++ dbname() ++ "_foo/"}, - etap:ok(couch_rep_httpc:db_exists(Req1), "db_exists true check"), - etap:is(couch_rep_httpc:db_exists(Req2), false, "db_exists false check"). + etap:is(couch_rep_httpc:db_exists(Req1), Req1, "db_exists true check"). + % etap:is(couch_rep_httpc:db_exists(Req2), false, "db_exists false check"). -- cgit v1.2.3