Changed commented out test to use @Ignore. See AMQ-4974

This commit is contained in:
Kevin Earls 2014-01-16 15:40:55 +01:00
parent 6549342061
commit 612a816d98
1 changed files with 5 additions and 3 deletions

View File

@ -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>();