Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1786

DefaultTimeScheduler: unit test fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.13
    • 3.2.13
    • None

      The test case starts off by scheduling a timer task using the DefaultTimeScheduler and then sleeping, waiting for the task to execute

      Instead of the task being executed, the call to sleep is interrupted and the test case fails with an interrupted exception. Catching this interrupted exception shows that the task has not had a chance to execute before the sleep was interrupted.

      The same test case passes with the other two TimeScheduler implementations: TimeScheduler2 and HashedTimingWheel.

              rhn-engineering-bban Bela Ban
              rachmato@redhat.com Richard Achmatowicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: