1
0
Fork 0
This commit is contained in:
Simon Grätzer 2018-07-28 15:56:06 +02:00
parent 47aef531e0
commit c7aacea583
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ function runSetup () {
db._drop('UnitTestsRecovery');
db._create('UnitTestsRecovery');
db._query("FOR i IN 0..1999 INSERT {_key: 'test' + i} INTO @@cn OPTIONS { waitForSync: true }",
{"@cn": 'UnitTestsRecovery'}, {intermediateCommitCount: 1000})
db._query("FOR i IN 0..1999 INSERT {_key: CONCAT('test', i)} INTO UnitTestsRecovery OPTIONS { waitForSync: true }",
{}, {intermediateCommitCount: 1000})
// the above should commit two times
internal.debugSegfault('crashing server');