1
0
Fork 0

try to make replication test more deterministic (rough guess only) (#4274)

This commit is contained in:
Jan 2018-01-15 22:44:36 +01:00 committed by GitHub
parent f482b7aed4
commit ee5e2e56c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;