Qpid
  1. Qpid
  2. QPID-3793

Test MessageStatisticsTest.testMessagePeakRates fails sporadically on java-bdb-spawn.0-10 test profile

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: Java Tests
    • Labels:
      None

      Description

      Test MessageStatisticsTest.testMessagePeakRates fails sporadically on java-bdb-spawn.0-10 test profile

      junit.framework.AssertionFailedError: Incorrect dev vhost peak messages: expected 2.000000 +/- 20%, actual 1.500000
      at org.apache.qpid.management.jmx.MessageStatisticsTestCase.assertApprox(MessageStatisticsTestCase.java:126)
      at org.apache.qpid.management.jmx.MessageStatisticsTest.testMessagePeakRates(MessageStatisticsTest.java:181)
      at org.apache.qpid.test.utils.QpidBrokerTestCase.runBare(QpidBrokerTestCase.java:242)
      at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:138)

        Activity

        Hide
        Alex Rudyy added a comment -

        Attached a patch removing the failing test. There is already junit test case testing the same

        Show
        Alex Rudyy added a comment - Attached a patch removing the failing test. There is already junit test case testing the same
        Hide
        Alex Rudyy added a comment -

        Robbie,

        Could you apply the patch?

        Show
        Alex Rudyy added a comment - Robbie, Could you apply the patch?
        Hide
        Robbie Gemmell added a comment -

        Patch applied.

        Show
        Robbie Gemmell added a comment - Patch applied.

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Alex Rudyy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development