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 2011/02/15 18:00:07 UTC

svn commit: r1070968 - /uima/uima-as/trunk/uimaj-as-activemq/src/test/java/org/apache/uima/ee/test/TestUimaASExtended.java

Author: cwiklik
Date: Tue Feb 15 17:00:07 2011
New Revision: 1070968

URL: http://svn.apache.org/viewvc?rev=1070968&view=rev
Log:
UIMA-2038 start new client instance for each test in testDeployAgainAndAgain

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=1070968&r1=1070967&r2=1070968&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 Tue Feb 15 17:00:07 2011
@@ -2930,13 +2930,13 @@ public class TestUimaASExtended extends 
   
   public void testDeployAgainAndAgain() throws Exception {
     System.out.println("-------------- testDeployAgainAndAgain -------------");
-    BaseUIMAAsynchronousEngine_impl eeUimaEngine = new BaseUIMAAsynchronousEngine_impl(); // here or
                                                                                           // in the
                                                                                           // loop,
                                                                                           // no
                                                                                           // change.
 
     for (int num = 1; num <= 50; num++) {
+      BaseUIMAAsynchronousEngine_impl eeUimaEngine = new BaseUIMAAsynchronousEngine_impl(); // here or
       System.out.println("\nRunning iteration " + num);
       deployService(eeUimaEngine, relativePath + "/Deploy_NoOpAnnotator.xml");
       deployService(eeUimaEngine, relativePath + "/Deploy_NoOpAnnotator2.xml");
@@ -2944,7 +2944,6 @@ public class TestUimaASExtended extends 
       runTest(null, eeUimaEngine, String.valueOf(broker.getMasterConnectorURI()),
               "TopLevelTaeQueue", 1, PROCESS_LATCH);
     }
-    super.stopBroker();
   }
 
   private Exception getCause(Throwable e) {