OPENJPA-1898: reduce number of threads in testcase.

Submitted By: Mark Struberg

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.1.x@1040753 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2010-11-30 20:17:11 +00:00
parent e50d624104
commit 2192cf34b6

View File

@ -218,8 +218,8 @@ public class TestQueryMultiThreaded extends SliceTestCase {
}
public void testHeavyLoad() {
Thread[] threads = new Thread[1000];
for (int i = 0; i < 1000; i++) {
Thread[] threads = new Thread[800];
for (int i = 0; i < 800; i++) {
Runnable r = new Runnable() {
public void run() {
EntityManager em = emf.createEntityManager();