You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2020/10/29 18:50:14 UTC

[qpid-dispatch] 01/02: DISPATCH-1812 - Fixed test that fails due to log format changes.

This is an automated email from the ASF dual-hosted git repository.

tross pushed a commit to branch dev-protocol-adaptors-2
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git

commit dcd773cc0de969593de6d3fb7a5e0bcdf129c358
Author: Ted Ross <tr...@apache.org>
AuthorDate: Thu Oct 29 14:38:17 2020 -0400

    DISPATCH-1812 - Fixed test that fails due to log format changes.
---
 tests/system_tests_topology_disposition.py.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/system_tests_topology_disposition.py.in b/tests/system_tests_topology_disposition.py.in
index 146b986..c41a481 100644
--- a/tests/system_tests_topology_disposition.py.in
+++ b/tests/system_tests_topology_disposition.py.in
@@ -399,7 +399,7 @@ class TopologyDispositionTests ( TestCase ):
         error = None
         if self.skip [ name ] :
             self.skipTest ( "Test skipped during development." )
-        st_key = "PROTOCOL (trace) ["
+        st_key = "PROTOCOL (trace) [C"
         qc_key = "qd.conn-id\"="
         for letter in ['A', 'B', 'C', 'D']:
             log_name = ('../setUpClass/%s.log' % letter)
@@ -423,7 +423,7 @@ class TopologyDispositionTests ( TestCase ):
                             break
                         sti += 1
                         qci += 1
-                    if oopen[qci].isdigit():
+                    if error == None and oopen[qci].isdigit():
                         error = "log %s, line '%s' published conn-id is too big" % (log_name, oopen)
                 self.assertEqual(None, error)
             self.assertEqual ( None, error )


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