summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenoitc <bchesneau@gmail.com>2014-02-11 11:48:46 +0100
committerbenoitc <bchesneau@gmail.com>2014-02-11 11:48:46 +0100
commite37fcc8dc5b16de4acf14e18dd9ff5891c29c56f (patch)
tree477869a06fd6a007d1a27d65f63a408bd96e36cd
parent87aaa587e9daa428c72c154c1b555ef07e20392f (diff)
downloadcouchdb-e37fcc8dc5b16de4acf14e18dd9ff5891c29c56f.tar.gz
couch_replicator: fix test 03-replication-compact.t
the record rep has bene upddated in the previous change to handle a replication based on a view index. Fix it.
-rwxr-xr-xapps/couch_replicator/test/03-replication-compact.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/couch_replicator/test/03-replication-compact.t b/apps/couch_replicator/test/03-replication-compact.t
index 699f6986c..2deb9dd1e 100755
--- a/apps/couch_replicator/test/03-replication-compact.t
+++ b/apps/couch_replicator/test/03-replication-compact.t
@@ -61,6 +61,8 @@
target,
options,
user_ctx,
+ type = db,
+ view = nil,
doc_id
}).
@@ -69,7 +71,7 @@ source_db_name() -> <<"couch_test_rep_db_a">>.
target_db_name() -> <<"couch_test_rep_db_b">>.
-main(_) ->
+main(_) ->
etap:plan(376),
case (catch test()) of
ok ->
@@ -115,7 +117,7 @@ test() ->
delete_db(TargetDb),
test_util:stop_couch(),
ok = timer:sleep(1000),
- test_util:start_couch()
+ test_util:start_couch()
end,
Pairs),