diff options
-rw-r--r-- | rel/files/eunit.ini | 2 | ||||
-rw-r--r-- | src/couch_replicator/src/couch_replicator_doc_processor.erl | 1 | ||||
-rw-r--r-- | src/couch_replicator/test/couch_replicator_compact_tests.erl | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/rel/files/eunit.ini b/rel/files/eunit.ini index 2536a6a5c..1a622d498 100644 --- a/rel/files/eunit.ini +++ b/rel/files/eunit.ini @@ -34,4 +34,4 @@ level = info [replicator] ; disable jitter to reduce test run times -startup_jitter = 0
\ No newline at end of file +startup_jitter = 1
\ No newline at end of file diff --git a/src/couch_replicator/src/couch_replicator_doc_processor.erl b/src/couch_replicator/src/couch_replicator_doc_processor.erl index 45d5b3b6b..3b5250d7a 100644 --- a/src/couch_replicator/src/couch_replicator_doc_processor.erl +++ b/src/couch_replicator/src/couch_replicator_doc_processor.erl @@ -657,6 +657,7 @@ doc_processor_test_() -> % Can't parse replication doc, so should write failure state to document. t_bad_change() -> ?_test(begin + ?debugFmt(" XXXXXXXXXXXXXXXXXXXXXXXXXXX ~p", [config:get("replicator","startup_jitter")]), ?assertEqual(acc, db_change(?DB, bad_change(), acc)), ?assert(updated_doc_with_failed_state()) end). diff --git a/src/couch_replicator/test/couch_replicator_compact_tests.erl b/src/couch_replicator/test/couch_replicator_compact_tests.erl index 4dce69b00..e43c401fe 100644 --- a/src/couch_replicator/test/couch_replicator_compact_tests.erl +++ b/src/couch_replicator/test/couch_replicator_compact_tests.erl @@ -40,6 +40,7 @@ setup({A, B}) -> Ctx = test_util:start_couch([couch_replicator]), Source = setup(A), Target = setup(B), + ?debugFmt(" XXXXXXXXXXXXXXXXXXXXXXXXXXX ~p", [config:get("replicator","startup_jitter")]), {Ctx, {Source, Target}}. teardown({remote, DbName}) -> |