activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dej...@apache.org
Subject svn commit: r1032919 - /activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/BrowseOverNetworkTest.java
Date Tue, 09 Nov 2010 10:59:19 GMT
Author: dejanb
Date: Tue Nov  9 10:59:19 2010
New Revision: 1032919

URL: http://svn.apache.org/viewvc?rev=1032919&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQ-3020 - remove obsolete test

Modified:
    activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/BrowseOverNetworkTest.java

Modified: activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/BrowseOverNetworkTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/BrowseOverNetworkTest.java?rev=1032919&r1=1032918&r2=1032919&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/BrowseOverNetworkTest.java
(original)
+++ activemq/trunk/activemq-core/src/test/java/org/apache/activemq/usecases/BrowseOverNetworkTest.java
Tue Nov  9 10:59:19 2010
@@ -160,52 +160,6 @@ public class BrowseOverNetworkTest exten
         return nc;
     }
 
-
-    public void testMultipleBrowsers() throws Exception {
-        createBroker(new URI("broker:(tcp://localhost:61616)/BrokerA?persistent=false&useJmx=false&brokerId=BrokerA"));
-        createBroker(new URI("broker:(tcp://localhost:61617)/BrokerB?persistent=false&useJmx=false&brokerId=BrokerB"));
-        createBroker(new URI("broker:(tcp://localhost:61618)/BrokerC?persistent=false&useJmx=false&brokerId=BrokerC"));
-        createBroker(new URI("broker:(tcp://localhost:61619)/BrokerD?persistent=false&useJmx=false&brokerId=BrokerD"));
-
-        Destination composite = createDestination("TEST.FOO,TEST.BAR", false);
-        Destination dest1 = createDestination("TEST.FOO", false);
-        Destination dest2 = createDestination("TEST.BAR", false);
-
-        bridgeBrokersWithIncludedDestination("BrokerA", "BrokerC", (ActiveMQDestination)composite,
null);
-        bridgeBrokersWithIncludedDestination("BrokerA", "BrokerB", (ActiveMQDestination)composite,
null);
-        bridgeBrokersWithIncludedDestination("BrokerA", "BrokerD", (ActiveMQDestination)composite,
null);
-        bridgeBrokersWithIncludedDestination("BrokerB", "BrokerA", (ActiveMQDestination)composite,
null);
-        bridgeBrokersWithIncludedDestination("BrokerB", "BrokerC", (ActiveMQDestination)composite,
null);
-        bridgeBrokersWithIncludedDestination("BrokerB", "BrokerD", (ActiveMQDestination)composite,
null);
-        bridgeBrokersWithIncludedDestination("BrokerC", "BrokerA", (ActiveMQDestination)dest2,
(ActiveMQDestination)dest1);
-        bridgeBrokersWithIncludedDestination("BrokerC", "BrokerB", (ActiveMQDestination)dest2,
(ActiveMQDestination)dest1);
-        bridgeBrokersWithIncludedDestination("BrokerC", "BrokerD", (ActiveMQDestination)dest2,
(ActiveMQDestination)dest1);
-        bridgeBrokersWithIncludedDestination("BrokerD", "BrokerA", (ActiveMQDestination)dest1,
(ActiveMQDestination)dest2);
-        bridgeBrokersWithIncludedDestination("BrokerD", "BrokerB", (ActiveMQDestination)dest1,
(ActiveMQDestination)dest2);
-        bridgeBrokersWithIncludedDestination("BrokerD", "BrokerC", (ActiveMQDestination)dest1,
(ActiveMQDestination)dest2);
-
-        startAllBrokers();
-
-        brokers.get("BrokerA").broker.waitUntilStarted();
-        brokers.get("BrokerB").broker.waitUntilStarted();
-        brokers.get("BrokerC").broker.waitUntilStarted();
-        brokers.get("BrokerD").broker.waitUntilStarted();
-
-        Browser browser1 = new Browser("BrokerC", composite);
-        browser1.start();
-
-        Browser browser2 = new Browser("BrokerD", composite);
-        browser2.start();
-
-        sendMessages("BrokerA", composite, MESSAGE_COUNT);
-
-        browser1.join();
-        browser2.join();
-
-        assertEquals(MESSAGE_COUNT * 2, browser1.getTotalCount() + browser2.getTotalCount()
);
-
-    }
-
     public void testAMQ3020() throws Exception {
         createBroker(new ClassPathResource("org/apache/activemq/usecases/browse-broker1A.xml"));
         createBroker(new ClassPathResource("org/apache/activemq/usecases/browse-broker1B.xml"));



Mime
View raw message