You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2010/12/22 22:32:22 UTC
svn commit: r1052074 -
/uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java
Author: cwiklik
Date: Wed Dec 22 21:32:21 2010
New Revision: 1052074
URL: http://svn.apache.org/viewvc?rev=1052074&view=rev
Log:
UIMA-1980 Modified testTerminateOnFlowControllerExceptionOnDisable() to expect exception. Also, unified broker URL in a few testcases. Some testcases used tcp://0.0.0.0:X instead of tcp://localhost.
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=1052074&r1=1052073&r2=1052074&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 Wed Dec 22 21:32:21 2010
@@ -1611,7 +1611,7 @@ public class TestUimaASExtended extends
deployService(eeUimaEngine, relativePath
+ "/Deploy_AggregateWithFlowControllerExceptionOnDisable.xml");
runTest(null, eeUimaEngine, String.valueOf(broker.getMasterConnectorURI()), "TopLevelTaeQueue",
- 1, PROCESS_LATCH); // PC_LATCH);
+ 1, EXCEPTION_LATCH);
}
/**
@@ -2160,7 +2160,7 @@ public class TestUimaASExtended extends
BrokerService broker = createBroker(8200, true,true);
// start a broker that manages top level aggregate service input queue
broker.start();
- System.setProperty("BrokerURL", "tcp://0.0.0.0:8200");
+ System.setProperty("BrokerURL", "tcp://localhost:8200");
BaseUIMAAsynchronousEngine_impl eeUimaEngine = new BaseUIMAAsynchronousEngine_impl();
deployService(eeUimaEngine, relativePath + "/Deploy_RemoteCasMultiplier.xml");
@@ -2168,10 +2168,10 @@ public class TestUimaASExtended extends
deployService(eeUimaEngine, relativePath + "/Deploy_AggregateWithRemoteMultiplier.xml");
Map<String, Object> appCtx = new HashMap();
- appCtx.put(UimaAsynchronousEngine.ServerUri, "tcp://0.0.0.0:8200");
+ appCtx.put(UimaAsynchronousEngine.ServerUri, "tcp://localhost:8200");
appCtx.put(UimaAsynchronousEngine.Endpoint, "TopLevelTaeQueue");
appCtx.put(UimaAsynchronousEngine.GetMetaTimeout, 0);
- runTest(appCtx, eeUimaEngine, "tcp://0.0.0.0:8200",
+ runTest(appCtx, eeUimaEngine, "tcp://localhost:8200",
"TopLevelTaeQueue", 1, PROCESS_LATCH);
broker.stop();