Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  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

    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

              motus Sergiy Matusevych
              motus Sergiy Matusevych
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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