mirror of https://gitee.com/bigwinds/arangodb
disable cores during recovery setup
This commit is contained in:
parent
1a30813919
commit
bceb5d7b46
|
@ -3201,7 +3201,13 @@ function runArangodRecovery (instanceInfo, options, script, setup) {
|
|||
fs.join('.', 'js', 'server', 'tests', 'recovery', script + '.js')
|
||||
]);
|
||||
|
||||
instanceInfo.pid = executeAndWait(ARANGOD_BIN, argv, options);
|
||||
let binary = ARANGOD_BIN;
|
||||
if (setup) {
|
||||
binary = TOP_DIR + '/scripts/disable-cores.sh';
|
||||
argv.unshift(ARANGOD_BIN);
|
||||
}
|
||||
|
||||
instanceInfo.pid = executeAndWait(binary, argv, options);
|
||||
}
|
||||
|
||||
const recoveryTests = [
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
ulimit -c 0
|
||||
exec $@
|
Loading…
Reference in New Issue