mirror of https://gitee.com/bigwinds/arangodb
fix test
This commit is contained in:
parent
47aef531e0
commit
c7aacea583
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue