Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-379

Improve the way test timeouts are implemented

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0.Beta1
    • None
    • Infrastructure, Tests
    • None

      Suggestions:

      • org.jboss.cdi.tck.util.Timer.DEFAULT_DELAY should be configurable
        • this will require API change
        • see also org.jboss.cdi.tck.api.Configuration
      • the test should be able to set the relative delay (as the multiple of the configurable value)
      • most of the tests should avoid setting specific delay and use relative delay instead
      • replace all remaining occurrences of "Thread.sleep()" with the Timer util

              mkouba@redhat.com Martin Kouba
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: