From 2a6647a3afe5993bcc642bf2c9d80691d331cd49 Mon Sep 17 00:00:00 2001 From: Keith Wall Date: Mon, 26 Dec 2011 18:59:29 +0000 Subject: QPID-3713: remove redundant failover test cases The following tests/test cases have been identified: 1) QueueBrowserAutoAckTest#testFailover*. These tests were running against Java 0-9-1 profiles and excluded against Java/CPP 0-10. New test cases FailoverBehaviourTest#testTransactedQueueBrowserCloseWhileFailover/testClientAcknowledge test the same code paths. 2) AcknowledgeAfterFailoverOnMessageTest/AcknowledgeAfterFailoverTest. These tests were globally excluded (Excludes file). New tests FBT.testClientAcknowledgedSessionCloseAfterFailover/testTransactedSessionCloseAfterFailover/testAcknowledgeAfterFailoverForAsynchronousConsumer cover these scenarios. 3) MessageDisappearWithIOExceptionTest. Tests were added after a defect arising from Java Broker use of MINA. Test scenario covered by FBT.testRecoverAfterFailoverInAutoAcknowledgeMode. 4) FailoverBeforeConsumingRecoverTest. Test case seemed weak: merely caused a failover then repeated the same tests as its super (RecoverTest). FBT.testRecoverAfterFailover and testRecoverWithConsumedMessagesAfterFailover are superior replacements. 5) QuickAcking. Test exercised same code paths as FBT.testMessageProducingAndRollbackAfterFailover. CloseAfterConnectionFailureTest duplicates FailoverMethodTest#testNoFailover. The testcase was actually excluded from all profiles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1224788 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/java/test-profiles/Excludes | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'qpid/java/test-profiles/Excludes') diff --git a/qpid/java/test-profiles/Excludes b/qpid/java/test-profiles/Excludes index b1edd07f87..8cad91ef2d 100644 --- a/qpid/java/test-profiles/Excludes +++ b/qpid/java/test-profiles/Excludes @@ -29,18 +29,6 @@ org.apache.qpid.server.logging.MemoryMessageStoreLoggingTest#testMessageStoreClo // QPID-3424 : Test fails to start external broker due to Derby Exception. org.apache.qpid.server.logging.DerbyMessageStoreLoggingTest#* -// QPID-1816 : Client Ack has not been addressed -org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverOnMessageTest#testDirtyClientAck -org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverOnMessageTest#testClientAck -org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverTest#testDirtyClientAck -org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverTest#testClientAck - - -// QPID-143 : Failover can occur between receive and ack but we don't stop the ack. -// Just fully disable both tests as they are highlighting to many Java Client race conditions -org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverOnMessageTest#* -org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverTest#* - // QPID-2418 : The queue backing the dur sub is not currently deleted at subscription change, so the test will fail. org.apache.qpid.test.unit.ct.DurableSubscriberTest#testResubscribeWithChangedSelectorAndRestart -- cgit v1.2.1