[jboss-cvs] JBoss Messaging SVN: r4847 - trunk/tests/src/org/jboss/messaging/tests/integration/clientcrash.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Aug 20 02:46:34 EDT 2008
Author: trustin
Date: 2008-08-20 02:46:33 -0400 (Wed, 20 Aug 2008)
New Revision: 4847
Modified:
trunk/tests/src/org/jboss/messaging/tests/integration/clientcrash/ClientCrashTest.java
Log:
Fixed timing issue in ClientCrashTest
Modified: trunk/tests/src/org/jboss/messaging/tests/integration/clientcrash/ClientCrashTest.java
===================================================================
--- trunk/tests/src/org/jboss/messaging/tests/integration/clientcrash/ClientCrashTest.java 2008-08-20 06:45:44 UTC (rev 4846)
+++ trunk/tests/src/org/jboss/messaging/tests/integration/clientcrash/ClientCrashTest.java 2008-08-20 06:46:33 UTC (rev 4847)
@@ -18,11 +18,11 @@
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
+ */
package org.jboss.messaging.tests.integration.clientcrash;
-import static org.jboss.messaging.core.remoting.TransportType.TCP;
+import static org.jboss.messaging.core.remoting.TransportType.*;
import junit.framework.TestCase;
import org.jboss.messaging.core.client.ClientConsumer;
@@ -127,6 +127,8 @@
session.close();
+ Thread.sleep(1000);
+
assertActiveConnections(0);
}
More information about the jboss-cvs-commits
mailing list