From 12168e5bced1eaaaf4fc340cd67cdcbc8112d6d7 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 2 Nov 2010 06:51:40 +0100 Subject: TestRecursiveLock01: Reduce threads/loop, otherwise slow machines will time out --- .../common/util/locks/TestRecursiveLock01.java | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/junit/com') 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) { -- cgit v1.2.3