Author: jmesnil
Date: 2009-11-04 03:38:24 -0500 (Wed, 04 Nov 2009)
New Revision: 8204
Modified:
trunk/tests/src/org/hornetq/tests/integration/management/ClusterConnectionControl2Test.java
Log:
fixed test
Modified:
trunk/tests/src/org/hornetq/tests/integration/management/ClusterConnectionControl2Test.java
===================================================================
---
trunk/tests/src/org/hornetq/tests/integration/management/ClusterConnectionControl2Test.java 2009-11-04
08:37:47 UTC (rev 8203)
+++
trunk/tests/src/org/hornetq/tests/integration/management/ClusterConnectionControl2Test.java 2009-11-04
08:38:24 UTC (rev 8204)
@@ -92,7 +92,7 @@
if (nodes.size() != 1 && System.currentTimeMillis() - start < 30000)
{
- Thread.sleep(100);
+ Thread.sleep(500);
}
else
{
@@ -132,10 +132,10 @@
clusterConnectionConfig_0 = new ClusterConnectionConfiguration(clusterName,
queueConfig.getAddress(),
- randomPositiveLong(),
- randomBoolean(),
- randomBoolean(),
- randomPositiveInt(),
+ 1000,
+ false,
+ false,
+ 1,
discoveryName);
List<Pair<String, String>> connectorInfos = new
ArrayList<Pair<String, String>>();
connectorInfos.add(new Pair<String, String>("netty", null));
Show replies by date