Uploaded image for project: 'REEF (Retired)'
  1. REEF (Retired)
  2. REEF-1279

Injecting RuntimeClock in event handler creates second instance of clock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.15
    • REEF.NET

    Description

      For REEF-1249 I've created an event handler which uses RuntimeClock to trigger an exception some time after the event. RuntimeClock is injected, so it should be the same instance as the one used in Evaluator, and exception thrown on alarm should cause some failure.

      However, this is not the case. Second instance of RuntimeClock is created (so it requires a separate call to clock.Run(), starts a clock in separate thread, and the thrown exception is ignored).

      My code with a repro can be found at https://github.com/tcNickolas/reef/tree/Second-Clock-Repro

      Attachments

        Issue Links

          Activity

            People

              afchung90 Andrew Chung
              MariiaMykhailova Mariia Mykhailova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: