[jboss-cvs] JBossAS SVN: r87269 - branches/Branch_5_x/testsuite/src/main/org/jboss/test/jmx/shutdown.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 14 04:18:29 EDT 2009
Author: wolfc
Date: 2009-04-14 04:18:29 -0400 (Tue, 14 Apr 2009)
New Revision: 87269
Modified:
branches/Branch_5_x/testsuite/src/main/org/jboss/test/jmx/shutdown/ExitOnShutdown.java
Log:
JBAS-6759: fixed race condition
Modified: branches/Branch_5_x/testsuite/src/main/org/jboss/test/jmx/shutdown/ExitOnShutdown.java
===================================================================
--- branches/Branch_5_x/testsuite/src/main/org/jboss/test/jmx/shutdown/ExitOnShutdown.java 2009-04-14 07:57:45 UTC (rev 87268)
+++ branches/Branch_5_x/testsuite/src/main/org/jboss/test/jmx/shutdown/ExitOnShutdown.java 2009-04-14 08:18:29 UTC (rev 87269)
@@ -53,5 +53,7 @@
}
}, "ExitOnShutdown");
thread.start();
+ // JBAS-6759: make sure we call System.exit before we're undeployed
+ thread.join(5000);
}
}
More information about the jboss-cvs-commits
mailing list