mirror of https://gitee.com/bigwinds/arangodb
try to make replication test more deterministic (rough guess only) (#4274)
This commit is contained in:
parent
f482b7aed4
commit
ee5e2e56c0
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue