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

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

jiridanek commented on a change in pull request #1255:
URL: https://github.com/apache/qpid-dispatch/pull/1255#discussion_r649236736



##########
File path: tests/system_tests_qdmanage.py
##########
@@ -542,17 +542,23 @@ def test_yy_query_many_links(self):
         # Try fetching all 10,000 addresses
         # This qdmanage query command would fail without the fix
         # for DISPATCH-974
+        i = 0
         query_command = 'QUERY --type=org.apache.qpid.dispatch.router.address'
-        outs = json.loads(self.run_qdmanage(query_command))
-
-        sender_addresses = 0
-        receiver_addresses = 0
+        while i < 3:

Review comment:
       `for _ in range(3):` would make this be two lines shorter ;)




-- 
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]


> test_yy_query_many_links fails in system_tests_qdmanage
> -------------------------------------------------------
>
>                 Key: DISPATCH-1797
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1797
>             Project: Qpid Dispatch
>          Issue Type: Test
>          Components: Tests
>    Affects Versions: 1.14.0, 1.17.0
>         Environment: rhel 6
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.15.0
>
>
> Failure on rhel 6
>  
> {noformat}
> ======================================================================
> FAIL: test_yy_query_many_links (system_tests_qdmanage.QdmanageTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/opt/qpid-dispatch-src/tests/system_tests_qdmanage.py", line 575, in 
> test_yy_query_many_links
>     self.assertEqual(out_links, COUNT)
> AssertionError: 4998 != 
> 5000----------------------------------------------------------------------
> Ran 34 tests in 159.088sFAILED (failures=1) {noformat}



--
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