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

ASF GitHub Bot commented on DISPATCH-1446:
------------------------------------------

ganeshmurthy commented on pull request #583: DISPATCH-1446 - Modified 
get_test_log in system_tests__qdmanage to no…
URL: https://github.com/apache/qpid-dispatch/pull/583
 
 
   …t assume that the last log line is the AGENT log. Cast a wider net by 
searching for the last 20 log lines
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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