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



##########
File path: tests/system_tests_http1_adaptor.py
##########
@@ -951,18 +964,8 @@ def test_02_backpressure_server(self):
         server_listener.shutdown(socket.SHUT_RDWR)
         server_listener.close()
 
-        # search the router log file to verify Q2 was hit
-
-        block_ct = 0
-        unblock_ct = 0
-        with io.open(self.INT_A.logfile_path) as f:
-            for line in f:
-                if 'server link blocked on Q2 limit' in line:
-                    block_ct += 1
-                if 'server link unblocked from Q2 limit' in line:
-                    unblock_ct += 1
-        self.assertTrue(block_ct > 0)
-        self.assertEqual(block_ct, unblock_ct)
+        router.teardown()
+        self.check_logs("server", router.logfile_path)

Review comment:
       @kgiusti correct, I haven't realized that this system_test.py#L814 is 
operating there.




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

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to