Author: ron.sigal(a)jboss.com
Date: 2010-09-07 16:17:51 -0400 (Tue, 07 Sep 2010)
New Revision: 6096
Modified:
remoting3/trunk/jboss-remoting/src/test/java/org/jboss/remoting3/test/ClientServerRemoteConfigurationTestCase.java
Log:
JBREM-1228: Now starts counter at a random value
Modified:
remoting3/trunk/jboss-remoting/src/test/java/org/jboss/remoting3/test/ClientServerRemoteConfigurationTestCase.java
===================================================================
---
remoting3/trunk/jboss-remoting/src/test/java/org/jboss/remoting3/test/ClientServerRemoteConfigurationTestCase.java 2010-09-07
20:04:56 UTC (rev 6095)
+++
remoting3/trunk/jboss-remoting/src/test/java/org/jboss/remoting3/test/ClientServerRemoteConfigurationTestCase.java 2010-09-07
20:17:51 UTC (rev 6096)
@@ -29,7 +29,9 @@
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
+import java.util.Date;
import java.util.HashSet;
+import java.util.Random;
import java.util.ServiceLoader;
import org.jboss.remoting3.Client;
@@ -59,7 +61,7 @@
private static final Logger log =
Logger.getLogger(ClientServerRemoteConfigurationTestCase.class);
- private static int counter;
+ private static int counter = new Random(Math.abs(new Date().getTime())).nextInt();
@BeforeMethod
public void setUp() {
Show replies by date