[hornetq-commits] JBoss hornetq SVN: r9939 - branches/2_2_0_HA_Improvements_preMerge/examples/common/src/org/hornetq/common/example.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Nov 29 14:07:41 EST 2010


Author: clebert.suconic at 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



More information about the hornetq-commits mailing list