summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2017-04-18 14:01:54 -0400
committerNick Vatamaniuc <vatamane@apache.org>2017-04-18 14:01:54 -0400
commitd8a5306c0395f3a93d3f4a971e2ad349bea09388 (patch)
treeb5a402c168a2503b884511bf1557e110eddc87a9
parentd775c012517530b24dba4bf43c458be07613a36a (diff)
downloadcouchdb-63012-scheduler-check-travis-build.tar.gz
Do not merge. Travis test check63012-scheduler-check-travis-build
-rw-r--r--rel/files/eunit.ini2
-rw-r--r--src/couch_replicator/src/couch_replicator_doc_processor.erl1
-rw-r--r--src/couch_replicator/test/couch_replicator_compact_tests.erl1
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}) ->