Author: clebert.suconic(a)jboss.com
Date: 2010-11-29 14:07:41 -0500 (Mon, 29 Nov 2010)
New Revision: 9939
Modified:
branches/2_2_0_HA_Improvements_preMerge/examples/common/src/org/hornetq/common/example/HornetQExample.java
Log:
Adding sleep after kill
Modified:
branches/2_2_0_HA_Improvements_preMerge/examples/common/src/org/hornetq/common/example/HornetQExample.java
===================================================================
---
branches/2_2_0_HA_Improvements_preMerge/examples/common/src/org/hornetq/common/example/HornetQExample.java 2010-11-29
17:04:17 UTC (rev 9938)
+++
branches/2_2_0_HA_Improvements_preMerge/examples/common/src/org/hornetq/common/example/HornetQExample.java 2010-11-29
19:07:41 UTC (rev 9939)
@@ -106,6 +106,9 @@
File file = new File("server" + id + "/KILL_ME");
file.createNewFile();
+
+ // Sleep longer than the KillChecker check period
+ Thread.sleep(1000);
}
protected void stopServer(final int id) throws Exception
Show replies by date