mirror of
https://github.com/apache/openjpa.git
synced 2025-02-25 03:59:47 +00:00
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:
parent
e50d624104
commit
2192cf34b6
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user