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

[Java Tests] Test EndToEndTest.testHillClimbing failed to achieve target thresholds during one iteration and failed

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Test EndToEndTest.testHillClimbing failed to achieve target thresholds during one iteration and failed as below:

      Unexpected number of lines in CSV expected:<6> but was:<1>
      
      Stacktrace
      
      junit.framework.AssertionFailedError: Unexpected number of lines in CSV expected:<6> but was:<1>
      	at junit.framework.Assert.fail(Assert.java:57)
      	at junit.framework.Assert.failNotEquals(Assert.java:329)
      	at junit.framework.Assert.assertEquals(Assert.java:78)
      	at junit.framework.Assert.assertEquals(Assert.java:234)
      	at junit.framework.TestCase.assertEquals(TestCase.java:401)
      	at org.apache.qpid.systest.disttest.endtoend.EndToEndTest.testHillClimbing(EndToEndTest.java:182)
      

      The results have not been written into CSV file because test thresholds have not been achieved :

      2016-07-10 22:00:44,957         INFO  [main] o.a.q.d.c.HillClimbingTestRunner Completed test unsuccessfully, run number 1/1, result TestResult{_name='HillClimbing', _hasErrors=false, _producedMessageRate=1.0, _consumedMessageRate=0.774593338497289}, target rate : 1.0, production to target ratio : 100.0%, consumption to production ratio : 77.5%.
      2016-07-10 22:00:44,957         INFO  [main] o.a.q.d.c.HillClimbingTestRunner Target throughput (1.0) missed.
      2016-07-10 22:00:44,957         WARN  [main] o.a.q.d.c.Controller Finished test TestInstance[testName=HillClimbing, iterationNumber=0] without producing a result.
      2016-07-10 22:00:44,957         INFO  [main] o.a.q.d.r.ResultsCsvWriter Wrote 0 test result(s) to output file /tmp/EndToEndTest.testHillClimbing_1468188037533/hillclimbing.csv
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: