[ 
https://issues.apache.org/jira/browse/DISPATCH-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948668#comment-16948668
 ] 

ASF subversion and git services commented on DISPATCH-1446:
-----------------------------------------------------------

Commit 25d0ab612c0d00b6ef7ecf15269b9a1c618ab9ee in qpid-dispatch's branch 
refs/heads/master from Ganesh Murthy
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=25d0ab6 ]

DISPATCH-1446 - Modified get_test_log in system_tests_qdmanage to not assume 
that the last log line is the AGENT log. Cast a wider net by searching for the 
last 20 log lines. This closes #583.


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to