[maven-release-plugin] copy for tag uimaj-2.4.0-rc1
git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/tags/uimaj-2.4.0-rc1@1208888 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/uimaj-cpe/src/test/java/org/apache/uima/collection/impl/cpm/CpmInitTest.java b/uimaj-cpe/src/test/java/org/apache/uima/collection/impl/cpm/CpmInitTest.java
index e394fb7..f8a090a 100644
--- a/uimaj-cpe/src/test/java/org/apache/uima/collection/impl/cpm/CpmInitTest.java
+++ b/uimaj-cpe/src/test/java/org/apache/uima/collection/impl/cpm/CpmInitTest.java
@@ -43,7 +43,7 @@
}
public void testInitSingleThreadCPMMode() throws Exception {
- int documentCount = 10000;
+ int documentCount = 10000000;
int threadCount = 1;
// setup CPM to process 1 documents
@@ -60,10 +60,10 @@
while (!listener.isInitialized()) {
Thread.sleep(10);
}
- System.out.println("Initialize was called: " + listener.isInitialized());
+ System.out.println("SingleThreadCPMMode Initialize was called: " + listener.isInitialized());
// Let the CPM process some docs, before calling stop
- Thread.sleep(500);
+ Thread.sleep(300);
// stop CPM
cpe.stop();
@@ -75,7 +75,7 @@
}
public void testInitMultiThreadCPMMode() throws Exception {
- int documentCount = 10000; // hopefully enough that we won't finish before we abort
+ int documentCount = 10000000; // hopefully enough that we won't finish before we abort
int threadCount = 1;
// setup CPM to process 1 documents
@@ -91,10 +91,10 @@
while (!listener.isInitialized()) {
Thread.sleep(10);
}
- System.out.println("Initialize was called: " + listener.isInitialized());
+ System.out.println("MultiThreadCPMMode Initialize was called: " + listener.isInitialized());
// Let the CPM process some docs, before calling stop
- Thread.sleep(500);
+ Thread.sleep(300);
// stop CPM
cpe.stop();
@@ -106,7 +106,7 @@
}
public void testInitMultiThreadCPM() throws Exception {
- int documentCount = 10000;
+ int documentCount = 10000000;
int threadCount = 3;
// setup CPM to process documents
@@ -125,7 +125,7 @@
System.out.println("testInitMultiThreadCPM()-Initialize was called: "
+ listener.isInitialized());
// Let the CPM process some docs, before calling stop
- Thread.sleep(500);
+ Thread.sleep(300);
// stop CPM
cpe.stop();