Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1446

system_tests_qdmanage failing on test_get_log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.0
    • 1.10.0
    • Tests
    • None

    Description

       

      ======================================================================
      FAIL: test_get_log (system_tests_qdmanage.QdmanageTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
       File "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_qdmanage.py", line 236, in test_get_log
       self.assertEquals(['AGENT', 'debug'], log[0:2])
      AssertionError: Lists differ: [u'AGENT', u'debug'] != [u'ROUTER', u'trace']
      First differing element 0:
      u'AGENT'
      u'ROUTER'
      - [u'AGENT', u'debug']
      + [u'ROUTER', u'trace']
      ----------------------------------------------------------------------
      Ran 1 test in 16.316s
      FAILED (failures=1)
      [gmurthy@localhost build]$ 

       

      The test expects the last line of the log to be the AGENT log but sometimes a ROUTER log sneaks in. Modify the test to get something like the last 20 lines and make sure the AGENT log appears in it.

       

       

      Attachments

        Issue Links

          Activity

            People

              gmurthy Ganesh Murthy
              gmurthy Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: