Author: kgiusti
Date: Fri Apr 10 20:36:45 2015
New Revision: 1672758
URL: http://svn.apache.org/r1672758
Log:
NO-JIRA: properly skip qdstat memory test if memory pools are disabled
Modified:
qpid/dispatch/trunk/tests/system_tests_qdstat.py
Modified: qpid/dispatch/trunk/tests/system_tests_qdstat.py
URL:
http://svn.apache.org/viewvc/qpid/dispatch/trunk/tests/system_tests_qdstat.py?rev=1672758&r1=1672757&r2=1672758&view=diff
==============================================================================
--- qpid/dispatch/trunk/tests/system_tests_qdstat.py (original)
+++ qpid/dispatch/trunk/tests/system_tests_qdstat.py Fri Apr 10 20:36:45 2015
@@ -66,7 +66,7 @@ class QdstatTest(system_test.TestCase):
out = self.run_qdstat(['--memory'])
if out.strip() == "No memory statistics available":
# router built w/o memory pools enabled]
- self.skipTest("Router's memory pools disabled")
+ return self.skipTest("Router's memory pools disabled")
regexp = r'qd_address_t\s+[0-9]+'
assert re.search(regexp, out, re.I), "Can't find '%s' in '%s'" %
(regexp, out)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]