diff options
author | Sven Gothel <[email protected]> | 2010-11-02 06:51:40 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-02 06:51:40 +0100 |
commit | 12168e5bced1eaaaf4fc340cd67cdcbc8112d6d7 (patch) | |
tree | cb42456e58ab73bef49024a7df54c695fcf8c6e4 /src/junit/com | |
parent | c7c61c8d4032afc74932ebb755a7d8567300f223 (diff) |
TestRecursiveLock01: Reduce threads/loop, otherwise slow machines will time out
Diffstat (limited to 'src/junit/com')
-rw-r--r-- | src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java b/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java index ff3c4e0..ff55976 100644 --- a/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java +++ b/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java @@ -225,24 +225,24 @@ public class TestRecursiveLock01 { } @Test - public void testLockedObjectThreading200x200Yield() throws InterruptedException { - System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading200x200-Yield"); - testLockedObjectImpl(200, 200, 100, YIELD_YIELD); - System.err.println("---- TestRecursiveLock01.testLockedObjectThreading200x200-Yield"); + public void testLockedObjectThreading25x25Yield() throws InterruptedException { + System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading25x25-Yield"); + testLockedObjectImpl(25, 25, 100, YIELD_YIELD); + System.err.println("---- TestRecursiveLock01.testLockedObjectThreading25x25-Yield"); } // @Test - public void testLockedObjectThreading200x200Sleep() throws InterruptedException { - System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading200x200-Sleep"); - testLockedObjectImpl(200, 200, 100, YIELD_SLEEP); - System.err.println("---- TestRecursiveLock01.testLockedObjectThreading200x200-Sleep"); + public void testLockedObjectThreading25x25Sleep() throws InterruptedException { + System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading25x25-Sleep"); + testLockedObjectImpl(25, 25, 100, YIELD_SLEEP); + System.err.println("---- TestRecursiveLock01.testLockedObjectThreading25x25-Sleep"); } @Test - public void testLockedObjectThreading200x200None() throws InterruptedException { - System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading200x200-None"); - testLockedObjectImpl(200, 200, 100, YIELD_NONE); - System.err.println("---- TestRecursiveLock01.testLockedObjectThreading200x200-None"); + public void testLockedObjectThreading25x25None() throws InterruptedException { + System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading25x25-None"); + testLockedObjectImpl(25, 25, 100, YIELD_NONE); + System.err.println("---- TestRecursiveLock01.testLockedObjectThreading25x25-None"); } static int atoi(String a) { |