Updated Branches: refs/heads/trunk 654934206 -> 612a816d9
Changed commented out test to use @Ignore. See AMQ-4974 Project: http://git-wip-us.apache.org/repos/asf/activemq/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/612a816d Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/612a816d Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/612a816d Branch: refs/heads/trunk Commit: 612a816d986d74eaf23b4b07ba0adb26a135098a Parents: 6549342 Author: Kevin Earls <[email protected]> Authored: Thu Jan 16 15:40:55 2014 +0100 Committer: Kevin Earls <[email protected]> Committed: Thu Jan 16 15:40:55 2014 +0100 ---------------------------------------------------------------------- .../activemq/network/NetworkConnectionsCleanedupTest.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq/blob/612a816d/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkConnectionsCleanedupTest.java ---------------------------------------------------------------------- diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkConnectionsCleanedupTest.java b/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkConnectionsCleanedupTest.java index 8d644a0..021addc 100755 --- a/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkConnectionsCleanedupTest.java +++ b/activemq-unit-tests/src/test/java/org/apache/activemq/network/NetworkConnectionsCleanedupTest.java @@ -22,14 +22,14 @@ import java.util.List; import javax.jms.Connection; import javax.jms.Session; -import junit.framework.TestCase; - import org.apache.activemq.broker.BrokerService; import org.apache.activemq.command.ActiveMQDestination; import org.apache.activemq.command.ActiveMQTopic; +import org.junit.Ignore; +import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; -public class NetworkConnectionsCleanedupTest extends TestCase { +public class NetworkConnectionsCleanedupTest { protected static final int MESSAGE_COUNT = 10; @@ -46,6 +46,8 @@ public class NetworkConnectionsCleanedupTest extends TestCase { // skip this test. it runs for an hour, doesn't assert anything, and could probably // just be removed (seems like a throwaway impl for https://issues.apache.org/activemq/browse/AMQ-1202) + @Ignore + @Test public void skipTestNetworkConnections() throws Exception { String uri = "static:(tcp://localhost:61617)?initialReconnectDelay=100"; List<ActiveMQDestination> list = new ArrayList<ActiveMQDestination>();
