ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1463596 - /ctakes/trunk/ctakes-regression-test/src/test/java/org/apache/ctakes/regression/test/RegressionPipelineTest.java
Date Tue, 02 Apr 2013 15:34:08 GMT
Author: chenpei
Date: Tue Apr  2 15:34:08 2013
New Revision: 1463596

URL: http://svn.apache.org/r1463596
Log:
CTAKES-84 - Fail the Regression test upon timeout rather than exiting the process.

Modified:
    ctakes/trunk/ctakes-regression-test/src/test/java/org/apache/ctakes/regression/test/RegressionPipelineTest.java

Modified: ctakes/trunk/ctakes-regression-test/src/test/java/org/apache/ctakes/regression/test/RegressionPipelineTest.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-regression-test/src/test/java/org/apache/ctakes/regression/test/RegressionPipelineTest.java?rev=1463596&r1=1463595&r2=1463596&view=diff
==============================================================================
--- ctakes/trunk/ctakes-regression-test/src/test/java/org/apache/ctakes/regression/test/RegressionPipelineTest.java
(original)
+++ ctakes/trunk/ctakes-regression-test/src/test/java/org/apache/ctakes/regression/test/RegressionPipelineTest.java
Tue Apr  2 15:34:08 2013
@@ -110,9 +110,8 @@ public class RegressionPipelineTest exte
 		// Before comparing.
 		while (num_cpe > 0) {
 			if (System.currentTimeMillis() - started >= MAX_TIMEOUT_MS) {
-				logger.error("Regression CPE test timed out after "
+				Assert.assertEquals("Timed out:", "Regression CPE test timed out after "
 						+ MAX_TIMEOUT_MS + " ms");
-				System.exit(1);
 			}
 			Thread.sleep(1000);
 		}



Mime
View raw message