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;
|
first = false;
|
||||||
if (options.loopEternal) {
|
if (options.loopEternal) {
|
||||||
if (options.loopSleepWhen % loopCount === 0) {
|
if (loopCount % options.loopSleepWhen === 0) {
|
||||||
print("sleeping...");
|
print("sleeping...");
|
||||||
sleep(options.loopSleepSec);
|
sleep(options.loopSleepSec);
|
||||||
print("continuing.");
|
print("continuing.");
|
||||||
|
|
Loading…
Reference in New Issue