You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2008/07/24 07:30:42 UTC
svn commit: r679275 -
/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/Camel715ThreadProcessorTest.java
Author: ningjiang
Date: Wed Jul 23 22:30:41 2008
New Revision: 679275
URL: http://svn.apache.org/viewvc?rev=679275&view=rev
Log:
CAMEL-715 added a comments in the Camel715ThreadProcessorTest
Modified:
activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/Camel715ThreadProcessorTest.java
Modified: activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/Camel715ThreadProcessorTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/Camel715ThreadProcessorTest.java?rev=679275&r1=679274&r2=679275&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/Camel715ThreadProcessorTest.java (original)
+++ activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/Camel715ThreadProcessorTest.java Wed Jul 23 22:30:41 2008
@@ -71,7 +71,6 @@
final Endpoint e = context.getEndpoint("direct:a");
context.start();
- Long startTime = System.nanoTime();
for (int i = 0; i < ITERS; i++) {
template.send(e, new SendingProcessor(i), new AsyncCallback() {
@@ -86,6 +85,7 @@
context.stop();
} catch (Exception ex) {
fail("Get the exception " + ex + "here");
+ // Make sure we the threads will exit, or the test will hung
System.exit(-1);
}
}