Author: jmesnil
Date: 2009-12-03 10:54:24 -0500 (Thu, 03 Dec 2009)
New Revision: 8529
Modified:
trunk/tests/src/org/hornetq/tests/integration/cluster/bridge/BridgeTestBase.java
Log:
set InVMConnector.failOnCreateConnection to false in BridgeTestBase.tearDown()
* static fields are the bane of unit tests...
Modified:
trunk/tests/src/org/hornetq/tests/integration/cluster/bridge/BridgeTestBase.java
===================================================================
---
trunk/tests/src/org/hornetq/tests/integration/cluster/bridge/BridgeTestBase.java 2009-12-03
15:30:02 UTC (rev 8528)
+++
trunk/tests/src/org/hornetq/tests/integration/cluster/bridge/BridgeTestBase.java 2009-12-03
15:54:24 UTC (rev 8529)
@@ -19,6 +19,7 @@
import org.hornetq.core.config.Configuration;
import org.hornetq.core.config.TransportConfiguration;
import org.hornetq.core.config.impl.ConfigurationImpl;
+import org.hornetq.core.remoting.impl.invm.InVMConnector;
import org.hornetq.core.server.HornetQ;
import org.hornetq.core.server.HornetQServer;
import org.hornetq.integration.transports.netty.NettyAcceptorFactory;
@@ -65,6 +66,8 @@
servers = null;
+ InVMConnector.failOnCreateConnection = false;
+
super.tearDown();
}
Show replies by date