summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-01-06 17:02:49 +0000
committerAlan Conway <aconway@apache.org>2010-01-06 17:02:49 +0000
commitaf00b8aba6b095d217fafb8dfc8d19ed0ccd057b (patch)
treefbf19a916edcf18d9ef388cef5b6dff45783496e /cpp/src/tests
parent7b4b3ada283a92fad3c23c8f76fa47ca9a00b50a (diff)
downloadqpid-python-af00b8aba6b095d217fafb8dfc8d19ed0ccd057b.tar.gz
Fix error in cluster_tests.py
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896542 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rwxr-xr-xcpp/src/tests/cluster_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/cluster_tests.py b/cpp/src/tests/cluster_tests.py
index 27df63a472..a6c096b067 100755
--- a/cpp/src/tests/cluster_tests.py
+++ b/cpp/src/tests/cluster_tests.py
@@ -255,8 +255,8 @@ class StoreTests(BrokerTest):
self.assertRaises(Exception, lambda: a.ready())
self.assertRaises(Exception, lambda: b.ready())
msg = re.compile("critical.*no clean store")
- assert a.search_log(msg)
- assert b.search_log(msg)
+ assert msg.search(file(a.log).read())
+ assert msg.search(file(b.log).read())
# FIXME aconway 2009-12-03: verify manual restore procedure