Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Current version of the RuntimeClock does not have unit tests to verify correctness of graceful .close() and forceful .stop() shutdown of the event loop. We need to add such tests to ClockTest.
Also, Clock and RuntimeClock are not good for testing - e.g. we cannot check if the clock is indeed in the closed state, or check what exact time the alarm had been scheduled for. Shutdown tests may require such changes in the Clock interface.
Attachments
Issue Links
- requires
-
REEF-1527 Graceful shutdown of the RuntimeClock is not so graceful: unconditionally clears the event queue
- Resolved