Author: cwiklik Date: Thu Feb 24 22:26:50 2011 New Revision: 1074324 URL: http://svn.apache.org/viewvc?rev=1074324&view=rev Log: UIMA-2069 Modified to support new detection of busy ports
Modified: uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java Modified: uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java?rev=1074324&r1=1074323&r2=1074324&view=diff ============================================================================== --- uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java (original) +++ uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java Thu Feb 24 22:26:50 2011 @@ -198,7 +198,7 @@ public class TestUimaASExtended extends BaseUIMAAsynchronousEngine_impl uimaAsEngine = new BaseUIMAAsynchronousEngine_impl(); BrokerService broker2 = setupSecondaryBroker(false); - String bhttpURL = addHttpConnector(broker2, findOpenPort(DEFAULT_HTTP_PORT2)); + String bhttpURL = addHttpConnector(broker2, DEFAULT_HTTP_PORT2); String burl = "failover:("+bhttpURL+","+broker2.getConnectorByName(DEFAULT_BROKER_URL_KEY_2).getUri().toString().replaceAll("tcp","http")+")?randomize=false"; System.setProperty("BrokerURL", burl); // Deploy Uima AS Primitive Service