1
0
Fork 0

try to make test more deterministic

This commit is contained in:
jsteemann 2018-09-28 18:08:06 +02:00
parent 4b2588d74f
commit fc7b9f1231
1 changed files with 2 additions and 2 deletions

View File

@ -40,11 +40,11 @@ function runSetup () {
internal.wal.flush(true, true);
internal.wal.properties({ throttleWait: 1000, throttleWhenPending: 1000 });
internal.debugSetFailAt('CollectorThreadProcessQueuedOperations');
for (i = 0; i < 10000; ++i) {
c.save({ _key: 'test' + i, value1: 'test' + i, value2: i });
}
internal.debugSetFailAt('CollectorThreadProcessQueuedOperations');
internal.wal.flush(true, false);
// now let the write throttling become active