From ee5e2e56c03e828fe307221a81fc3e00df2e885e Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 15 Jan 2018 22:44:36 +0100 Subject: [PATCH] try to make replication test more deterministic (rough guess only) (#4274) --- js/server/tests/replication/replication-ongoing-32.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/server/tests/replication/replication-ongoing-32.js b/js/server/tests/replication/replication-ongoing-32.js index a759182ad6..b0f0b72316 100644 --- a/js/server/tests/replication/replication-ongoing-32.js +++ b/js/server/tests/replication/replication-ongoing-32.js @@ -100,7 +100,7 @@ const compare = function(masterFunc, masterFunc2, slaveFuncOngoing, slaveFuncFin password: "", verbose: true, includeSystem: false, - keepBarrier: false + keepBarrier: true }); assertTrue(syncResult.hasOwnProperty('lastLogTick')); @@ -124,7 +124,7 @@ const compare = function(masterFunc, masterFunc2, slaveFuncOngoing, slaveFuncFin connectToSlave(); replication.applier.properties(applierConfiguration); - replication.applier.start(syncResult.lastLogTick); + replication.applier.start(syncResult.lastLogTick, syncResult.barrierId); var printed = false, handled = false;