mirror of https://gitee.com/bigwinds/arangodb
Don't spinn in tight loops while waiting for valgrind to shut down.
This commit is contained in:
parent
bdb0eb8ff0
commit
c68fbff6c1
|
@ -466,6 +466,7 @@ function shutdownInstance (instanceInfo, options) {
|
|||
if (instanceInfo.exitStatus.status === "RUNNING") {
|
||||
count ++;
|
||||
if (typeof(options.valgrind) === 'string') {
|
||||
wait(1);
|
||||
continue;
|
||||
}
|
||||
if (count % 10 ===0) {
|
||||
|
|
Loading…
Reference in New Issue