Author: borges
Date: 2012-03-16 11:24:07 -0400 (Fri, 16 Mar 2012)
New Revision: 12311
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedPagedFailoverTest.java
Log:
HORNETQ-720 Fix hanging tests: Wait before crashing live on paged replicated tests
Modified:
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedPagedFailoverTest.java
===================================================================
---
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedPagedFailoverTest.java 2012-03-16
15:23:54 UTC (rev 12310)
+++
trunk/tests/integration-tests/src/test/java/org/hornetq/tests/integration/cluster/failover/ReplicatedPagedFailoverTest.java 2012-03-16
15:24:07 UTC (rev 12311)
@@ -2,6 +2,7 @@
import java.util.HashMap;
+import org.hornetq.api.core.client.ClientSession;
import org.hornetq.core.config.Configuration;
import org.hornetq.core.server.HornetQServer;
import org.hornetq.core.server.NodeManager;
@@ -22,4 +23,11 @@
{
// paged messages are not available for browsing
}
+
+ @Override
+ protected void crash(ClientSession... sessions) throws Exception
+ {
+ Thread.sleep(100);
+ super.crash(sessions);
+ }
}
Show replies by date