summaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common/util/locks
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-23 08:14:29 +0200
committerSven Gothel <[email protected]>2011-07-23 08:14:29 +0200
commit9f45b6f09cbce6c7889e099939656356befa585d (patch)
treedaeaec219fa453ee2af5b6be7ab4e032d7e3b2c5 /src/junit/com/jogamp/common/util/locks
parent6a321a9fb50ceb3bde38c5199f95c8f849090496 (diff)
fix cross test: Test* -> *Test* ; Reduce iterations further for ARM to speedup test
Diffstat (limited to 'src/junit/com/jogamp/common/util/locks')
-rw-r--r--src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java b/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java
index 099f8b8..96282f4 100644
--- a/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java
+++ b/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java
@@ -213,7 +213,7 @@ public class TestRecursiveLock01 {
public void testLockedObjectThreading2x10000() throws InterruptedException {
System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading2x10000");
if( Platform.getCPUFamily() == Platform.CPUFamily.ARM ) {
- testLockedObjectImpl(2, 10, 10, YIELD_NONE);
+ testLockedObjectImpl(2, 5, 10, YIELD_NONE);
} else {
testLockedObjectImpl(2, 10000, 10000, YIELD_NONE);
}
@@ -224,7 +224,7 @@ public class TestRecursiveLock01 {
public void testLockedObjectThreading25x25Yield() throws InterruptedException {
System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading25x25-Yield");
if( Platform.getCPUFamily() == Platform.CPUFamily.ARM ) {
- testLockedObjectImpl(5, 25, 10, YIELD_YIELD);
+ testLockedObjectImpl(2, 5, 10, YIELD_YIELD);
} else {
testLockedObjectImpl(25, 25, 100, YIELD_YIELD);
}
@@ -235,7 +235,7 @@ public class TestRecursiveLock01 {
public void testLockedObjectThreading25x25Sleep() throws InterruptedException {
System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading25x25-Sleep");
if( Platform.getCPUFamily() == Platform.CPUFamily.ARM ) {
- testLockedObjectImpl(5, 25, 10, YIELD_SLEEP);
+ testLockedObjectImpl(2, 5, 10, YIELD_SLEEP);
} else {
testLockedObjectImpl(25, 25, 100, YIELD_SLEEP);
}
@@ -246,7 +246,7 @@ public class TestRecursiveLock01 {
public void testLockedObjectThreading25x25None() throws InterruptedException {
System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading25x25-None");
if( Platform.getCPUFamily() == Platform.CPUFamily.ARM ) {
- testLockedObjectImpl(5, 25, 10, YIELD_NONE);
+ testLockedObjectImpl(2, 5, 10, YIELD_NONE);
} else {
testLockedObjectImpl(25, 25, 100, YIELD_NONE);
}