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.
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/c8f517dc Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/c8f517dc Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/c8f517dc Branch: refs/heads/1994-merge-rcouch Commit: c8f517dc4b6d9515f1e1de5830477385aa968bc3 Parents: 09d7a60 Author: benoitc <[email protected]> Authored: Tue Feb 11 11:48:46 2014 +0100 Committer: Paul J. Davis <[email protected]> Committed: Wed Feb 12 18:16:58 2014 -0600 ---------------------------------------------------------------------- test/03-replication-compact.t | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/c8f517dc/test/03-replication-compact.t ---------------------------------------------------------------------- diff --git a/test/03-replication-compact.t b/test/03-replication-compact.t index 699f698..2deb9dd 100755 --- a/test/03-replication-compact.t +++ b/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),
