mirror of https://gitee.com/bigwinds/arangodb
fix calculation of sleep state.
This commit is contained in:
parent
80de4f9786
commit
dacd3c009f
|
@ -1103,7 +1103,7 @@ function performTests(options, testList, testname, remote) {
|
|||
|
||||
first = false;
|
||||
if (options.loopEternal) {
|
||||
if (options.loopSleepWhen % loopCount === 0) {
|
||||
if (loopCount % options.loopSleepWhen === 0) {
|
||||
print("sleeping...");
|
||||
sleep(options.loopSleepSec);
|
||||
print("continuing.");
|
||||
|
|
Loading…
Reference in New Issue