Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-1561 REEF as a library
  3. REEF-1533

Make RuntimeClock more testable and create unit tests to check graceful and forceful shutdown of RuntimeClock

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      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

          Activity

            People

            • Assignee:
              motus Sergiy Matusevych
              Reporter:
              motus Sergiy Matusevych

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Issue deployment