You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ha...@apache.org on 2014/03/20 16:59:00 UTC
[05/25] git commit: Changed commented out test to use @Ignore. See
AMQ-4974
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/c27071fa
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/c27071fa
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/c27071fa
Branch: refs/heads/activemq-5.9
Commit: c27071fab25f4ac00fbcc4435d362568a36545ee
Parents: d6c047c
Author: Kevin Earls <ke...@kevinearls.com>
Authored: Thu Jan 16 15:40:55 2014 +0100
Committer: Hadrian Zbarcea <ha...@apache.org>
Committed: Thu Mar 20 11:25:05 2014 -0400
----------------------------------------------------------------------
.../activemq/network/NetworkConnectionsCleanedupTest.java | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq/blob/c27071fa/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>();