You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (Jira)" <ji...@apache.org> on 2019/10/10 14:45:00 UTC

[jira] [Resolved] (DISPATCH-1446) system_tests_qdmanage failing on test_get_log

     [ https://issues.apache.org/jira/browse/DISPATCH-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganesh Murthy resolved DISPATCH-1446.
-------------------------------------
    Resolution: Fixed

> system_tests_qdmanage failing on test_get_log
> ---------------------------------------------
>
>                 Key: DISPATCH-1446
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1446
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 1.9.0
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.10.0
>
>
>  
> {noformat}
> ======================================================================
> 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]$ {noformat}
>  
> 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.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org