-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
A race condition might occur when Timeout.hasExpired() is checked in an if statement, and immediately after Timeout.remaining() is called which might return 0.
One example: TimeoutContext.java#L257
Acceptance Criteria:
The CSOT code must be modified to eliminate the possibility of race conditions related to the usage of Timeout.hasExpired() and Timeout.remaining().