You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by ea...@apache.org on 2008/11/25 21:01:26 UTC

svn commit: r720582 - in /incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test: java/org/apache/uima/ee/test/TestUimaASExtended.java resources/deployment/Deploy_AggregateWithParallelFlowDisableOnDelegateFailure.xml

Author: eae
Date: Tue Nov 25 12:01:25 2008
New Revision: 720582

URL: http://svn.apache.org/viewvc?rev=720582&view=rev
Log:
UIMA-1236 uimaj-as-activemq-ee-test-UIMA-1236.txt and uimaj-as-activemq-resources-deployment-UIMA-1236.txt

Modified:
    incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java
    incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test/resources/deployment/Deploy_AggregateWithParallelFlowDisableOnDelegateFailure.xml

Modified: incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java?rev=720582&r1=720581&r2=720582&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java (original)
+++ incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java Tue Nov 25 12:01:25 2008
@@ -719,18 +719,18 @@
     runTest(appCtx,eeUimaEngine,String.valueOf(broker.getMasterConnectorURI()),"TopLevelTaeQueue", 1, PROCESS_LATCH); //PC_LATCH);
   }
 
-//  public void testProcessParallelFlowWithDelegateDisable() throws Exception
-//  {
-//    System.out.println("-------------- testProcessParallelFlowWithDelegateDisable -------------");
-//    //  Create Uima EE Client
-//    BaseUIMAAsynchronousEngine_impl eeUimaEngine = new BaseUIMAAsynchronousEngine_impl();
-//    UIMAFramework.getLogger().setLevel(Level.FINE);
-//    deployService(eeUimaEngine, relativePath+"/Deploy_NoOpAnnotatorWithException.xml");
-//    deployService(eeUimaEngine, relativePath+"/Deploy_NoOpAnnotator2.xml");
-//    deployService(eeUimaEngine, relativePath+"/Deploy_AggregateWithParallelFlowDisableOnDelegateFailure.xml");
-//    addExceptionToignore(org.apache.uima.aae.error.UimaEEServiceException.class);
-//    runTest(null,eeUimaEngine,String.valueOf(broker.getMasterConnectorURI()),"TopLevelTaeQueue", 1, PROCESS_LATCH); //PC_LATCH);
-//  }
+  public void testProcessParallelFlowWithDelegateDisable() throws Exception
+  {
+    System.out.println("-------------- testProcessParallelFlowWithDelegateDisable -------------");
+    //  Create Uima EE Client
+    BaseUIMAAsynchronousEngine_impl eeUimaEngine = new BaseUIMAAsynchronousEngine_impl();
+    UIMAFramework.getLogger().setLevel(Level.FINE);
+    deployService(eeUimaEngine, relativePath+"/Deploy_NoOpAnnotatorWithException.xml");
+    deployService(eeUimaEngine, relativePath+"/Deploy_NoOpAnnotator2.xml");
+    deployService(eeUimaEngine, relativePath+"/Deploy_AggregateWithParallelFlowDisableOnDelegateFailure.xml");
+    addExceptionToignore(org.apache.uima.aae.error.UimaEEServiceException.class);
+    runTest(null,eeUimaEngine,String.valueOf(broker.getMasterConnectorURI()),"TopLevelTaeQueue", 1, PROCESS_LATCH); //PC_LATCH);
+  }
 
 	public void testPrimitiveShutdownOnTooManyErrors() throws Exception
 	{

Modified: incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test/resources/deployment/Deploy_AggregateWithParallelFlowDisableOnDelegateFailure.xml
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test/resources/deployment/Deploy_AggregateWithParallelFlowDisableOnDelegateFailure.xml?rev=720582&r1=720581&r2=720582&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test/resources/deployment/Deploy_AggregateWithParallelFlowDisableOnDelegateFailure.xml (original)
+++ incubator/uima/sandbox/trunk/uima-as/uimaj-as-activemq/src/test/resources/deployment/Deploy_AggregateWithParallelFlowDisableOnDelegateFailure.xml Tue Nov 25 12:01:25 2008
@@ -45,7 +45,7 @@
 	                  <serializer method="xmi"/>
                       <asyncAggregateErrorConfiguration>
                             <getMetadataErrors maxRetries="0" timeout="4000" errorAction="terminate" />
-                            <processCasErrors maxRetries="0" thresholdCount="1" thresholdAction="disable" continueOnRetryFailure="true"/>
+                            <processCasErrors maxRetries="0" timeout="4000" thresholdCount="1" thresholdAction="disable" continueOnRetryFailure="true"/>
                       </asyncAggregateErrorConfiguration>
           </remoteAnalysisEngine>