You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Meaning the previousSampleCount and previousSampleTime are never updated and unless the jlbhOptions.timeout value is larger than the total runtime of all remaining runs in the test it will eventually trigger a timeout when it should not.
To fix this previousSampleCount and previousSampleTime should be reset alongside the reset that already happens to noResultsReturned in the endOfRun method.
The text was updated successfully, but these errors were encountered:
These two variables are not properly reset when a run completes
while
noResultsReturned = 0;
is reset in theendOfRun
method.This means that once the first run completes and
noResultsReturned
is reset to 0 this if condition is never trueMeaning the
previousSampleCount
andpreviousSampleTime
are never updated and unless thejlbhOptions.timeout
value is larger than the total runtime of all remaining runs in the test it will eventually trigger a timeout when it should not.To fix this
previousSampleCount
andpreviousSampleTime
should be reset alongside the reset that already happens tonoResultsReturned
in theendOfRun
method.The text was updated successfully, but these errors were encountered: