qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgiu...@apache.org
Subject [qpid-dispatch] branch master updated: minor fix to test for python3 error
Date Tue, 18 Dec 2018 20:54:30 GMT
This is an automated email from the ASF dual-hosted git repository.

kgiusti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new aaf0bbd  minor fix to test for python3 error
aaf0bbd is described below

commit aaf0bbda689aa7026bbeec62ff5fe8ad47f292a6
Author: Kenneth Giusti <kgiusti@apache.org>
AuthorDate: Tue Dec 18 15:53:41 2018 -0500

    minor fix to test for python3 error
---
 bin/grinder                       | 1 +
 tests/system_tests_edge_router.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/grinder b/bin/grinder
index 647c9ba..d06ed8f 100755
--- a/bin/grinder
+++ b/bin/grinder
@@ -273,6 +273,7 @@ _ERROR_CLASSES = {
     'UninitCondition':     GeneralError,
     'SyscallParam':        GeneralError,
     'InvalidFree':         InvalidMemError,
+    'FishyValue':          InvalidMemError,
     # TBD:
     'InvalidJump': None,
     'UninitValue': None,
diff --git a/tests/system_tests_edge_router.py b/tests/system_tests_edge_router.py
index f9a55d9..ce06330 100644
--- a/tests/system_tests_edge_router.py
+++ b/tests/system_tests_edge_router.py
@@ -850,7 +850,7 @@ class LinkRouteProxyTest(TestCase):
                                         and
                                         conns[l['connectionId']]['role'] == elink[2]),
                              test_links)
-            self.assertTrue(len(matches) == 1)
+            self.assertTrue(len(list(matches)) == 1)
 
     def test_03_interior_conn_lost(self):
         """


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


Mime
View raw message