Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7422

[Java Tests] Make test timeouts configurable via system properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • qpid-java-6.1
    • Java Tests
    • None

    Description

      A number of tests have failed on slow environments due to time spent on operations exceeded the expected time hard-coded in the tests.
      Here is the list of the tests and their timeouts which have failed recently doe to bad environment performance:

      • BDBHAVirtualHostNodeTest.testCreateAndActivateVirtualHostNode (failed due to exceeding of waiting interval for node to became Master/Replica)
      • DBHAVirtualHostNodeTest.testNodeCannotStartWithIntruder (failed due to exceeding of waiting interval for node to became Master/Replica)
      • SortedQueueTest.testReleaseForQueueWithMultipleConsumers (failed due to exceeding of AbstractQueueTestBase.queueRunnerWaitTime as it is cannot be overridden on runtime)
      • TimeToLiveTest.testPassiveTTLWithPrefetch, TimeToLiveTest.testPassiveTTLwithDurableSubscription, TimeToLiveTest.testPassiveTT (failed due to exceeding of receive interval of 5000ms)

      The timeouts should be overriddable via run-time system properties

      Attachments

        Activity

          People

            kwall Keith Wall
            orudyy Alex Rudyy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: