Author: borges
Date: 2011-11-30 05:48:36 -0500 (Wed, 30 Nov 2011)
New Revision: 11794
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedLargeMessageWithDelayFailoverTest.java
Log:
HORNETQ-720 Deliver upToDateMsg to backup before going into test's tearDown().
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedLargeMessageWithDelayFailoverTest.java
===================================================================
---
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedLargeMessageWithDelayFailoverTest.java 2011-11-30
10:48:09 UTC (rev 11793)
+++
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedLargeMessageWithDelayFailoverTest.java 2011-11-30
10:48:36 UTC (rev 11794)
@@ -21,6 +21,14 @@
protected void crash(ClientSession... sessions) throws Exception
{
syncDelay.deliverUpToDateMsg();
+ waitForBackup(null, 5);
super.crash(sessions);
}
+
+ @Override
+ protected void tearDown() throws Exception
+ {
+ syncDelay.deliverUpToDateMsg();
+ super.tearDown();
+ }
}
Show replies by date