Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
See below that timeoutSecs is increased twice. We also do a sleep right away before even checking the observed value.
do { Thread.sleep(2000); ... timeoutSecs += 2; } while (!finalStates.contains(currentState) && timeoutSecs++ < timeOutMax);