From 41d5943c1c1f888baba4d8641d6b548dddf3cf3d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Sat, 12 Mar 2011 15:54:13 +0000 Subject: NO_JIRA: 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/qpid@1080945 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/cluster_tests.py | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'cpp/src') diff --git a/cpp/src/tests/cluster_tests.py b/cpp/src/tests/cluster_tests.py index 71df954427..42f3ae3d25 100755 --- a/cpp/src/tests/cluster_tests.py +++ b/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. -- cgit v1.2.1