summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-03-12 15:54:13 +0000
committerAlan Conway <aconway@apache.org>2011-03-12 15:54:13 +0000
commitbfb285398fa5417ba8a28c797fd857d051711c34 (patch)
tree4775ffc79405b8082700874d6f397a1ebfb67799
parent32d6d5ab15f997977ec43243180321d730597e0d (diff)
downloadqpid-python-bfb285398fa5417ba8a28c797fd857d051711c34.tar.gz
Removed faulty test, test_dr_no_message was failing sporadically.
test_dr_no_message was using unreliable sleeps to try to determine expiry of messages. There's no obvious way to implement the test correctly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1080945 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xqpid/cpp/src/tests/cluster_tests.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/qpid/cpp/src/tests/cluster_tests.py b/qpid/cpp/src/tests/cluster_tests.py
index 71df954427..42f3ae3d25 100755
--- a/qpid/cpp/src/tests/cluster_tests.py
+++ b/qpid/cpp/src/tests/cluster_tests.py
@@ -246,25 +246,6 @@ acl allow all all
session1 = cluster[1].connect().session()
for q in queues: self.assert_browse(session1, "q1", ["foo"])
- def test_dr_no_message(self):
- """Regression test for https://bugzilla.redhat.com/show_bug.cgi?id=655141
- Joining broker crashes with 'error deliveryRecord no update message'
- """
-
- cluster = self.cluster(1)
- session0 = cluster[0].connect().session()
- s = session0.sender("q1;{create:always}")
- s.send(Message("a", ttl=0.05), sync=False)
- s.send(Message("b", ttl=0.05), sync=False)
- r1 = session0.receiver("q1")
- self.assertEqual("a", r1.fetch(timeout=0).content)
- r2 = session0.receiver("q1;{mode:browse}")
- self.assertEqual("b", r2.fetch(timeout=0).content)
- # Leave messages un-acknowledged, let the expire, then start new broker.
- time.sleep(.1)
- cluster.start()
- self.assertRaises(Empty, cluster[1].connect().session().receiver("q1").fetch,0)
-
def test_route_update(self):
"""Regression test for https://issues.apache.org/jira/browse/QPID-2982
Links and bridges associated with routes were not replicated on update.