summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-11-22 16:15:06 +0000
committerAlan Conway <aconway@apache.org>2010-11-22 16:15:06 +0000
commitb745e61a847966652d3532460d13582b993d6c72 (patch)
tree4168f77d245d7579596af48bf9272f1c9cc873a0 /qpid/python
parent9132de5d3c1ef25d40d2cfda1ca4262c3c99984a (diff)
downloadqpid-python-b745e61a847966652d3532460d13582b993d6c72.tar.gz
QPID-2956: cluster broker exits with "error deliveryRecord no update message."
The following sequence of events was causing a broker joining the cluster to shutdown: - a client acquires or browses a message with TTL set. - the message expires. - a new broker joins before the client has acknowledged the message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1037763 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/brokertest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/python/qpid/brokertest.py b/qpid/python/qpid/brokertest.py
index 208bfd6000..98f58ebfdd 100644
--- a/qpid/python/qpid/brokertest.py
+++ b/qpid/python/qpid/brokertest.py
@@ -335,7 +335,7 @@ class Broker(Popen):
try: self._port = int(self.stdout.readline())
except ValueError:
raise Exception("Can't get port for broker %s (%s)%s" %
- (self.name, self.pname, error_line(self.log,4)))
+ (self.name, self.pname, error_line(self.log,5)))
return self._port
def unexpected(self,msg):
@@ -409,7 +409,7 @@ class Broker(Popen):
# First make sure the broker is listening by checking the log.
if not retry(self.log_ready, timeout=30):
raise Exception(
- "Timed out waiting for broker %s%s"%(self.name, error_line(self.log,4)))
+ "Timed out waiting for broker %s%s"%(self.name, error_line(self.log,5)))
# Create a connection and a session. For a cluster broker this will
# return after cluster init has finished.
try:
@@ -417,7 +417,7 @@ class Broker(Popen):
try: c.session()
finally: c.close()
except: raise RethrownException(
- "Broker %s failed ready test%s"%(self.name,error_line(self.log,4)))
+ "Broker %s failed ready test%s"%(self.name,error_line(self.log, 5)))
def store_state(self):
uuids = open(os.path.join(self.datadir, "cluster", "store.status")).readlines()