1
0
Fork 0

fix calculation of sleep state.

This commit is contained in:
Wilfried Goesgens 2016-01-19 15:58:34 +01:00
parent 80de4f9786
commit dacd3c009f
1 changed files with 1 additions and 1 deletions

View File

@ -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.");