Author: cwiklik Date: Mon Aug 9 15:46:18 2010 New Revision: 983690 URL: http://svn.apache.org/viewvc?rev=983690&view=rev Log: UIMA-1855 modified testContinueOnRetryFailure() to catch exception from mkdir() call
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=983690&r1=983689&r2=983690&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 Mon Aug 9 15:46:18 2010 @@ -2781,7 +2781,12 @@ public class TestUimaASExtended extends System.out.println("-------------- testContinueOnRetryFailure -------------"); File tempDir = new File("target/temp"); deleteAllFiles(tempDir); - tempDir.mkdir(); + try { + tempDir.mkdir(); + } catch( Exception e) { + e.printStackTrace(); + throw e; + } BaseUIMAAsynchronousEngine_impl eeUimaEngine = new BaseUIMAAsynchronousEngine_impl(); deployService(eeUimaEngine, relativePath + "/Deploy_WriterAnnotatorA.xml"); deployService(eeUimaEngine, relativePath + "/Deploy_WriterAnnotatorB.xml");