aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-25 13:53:27 +0200
committerSven Gothel <[email protected]>2013-06-25 13:53:27 +0200
commit95345e9d4079c5c45d8009c9a2c1b7fb9ef96550 (patch)
tree70c5e6395d84167cae91d7daa53b48900756dce3 /src/test
parent7fe9adcd1e8649dca84d180102ed14f55a9963cb (diff)
TestInitConcurrent0*NEWT: Add TO of 5 minutes
Diffstat (limited to 'src/test')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrent01NEWT.java6
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrent02NEWT.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrent01NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrent01NEWT.java
index 719d1fc9d..6116fdf4a 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrent01NEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrent01NEWT.java
@@ -44,17 +44,17 @@ import com.jogamp.common.os.Platform;
public class TestInitConcurrent01NEWT extends InitConcurrentBaseNEWT {
static boolean mainRun = false;
- @Test
+ @Test(timeout=300000) // TO 5 min
public void test02TwoThreads() throws InterruptedException {
runJOGLTasks(2, true);
}
- @Test
+ @Test(timeout=300000) // TO 5 min
public void test02FourThreads() throws InterruptedException {
runJOGLTasks(4, true);
}
- @Test
+ @Test(timeout=300000) // TO 5 min
public void test16SixteenThreads() throws InterruptedException {
if( !mainRun &&
Platform.getCPUFamily() != Platform.CPUFamily.ARM &&
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrent02NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrent02NEWT.java
index f2871a6e5..950bc1fc1 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrent02NEWT.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/acore/TestInitConcurrent02NEWT.java
@@ -44,7 +44,7 @@ import com.jogamp.common.os.Platform;
public class TestInitConcurrent02NEWT extends InitConcurrentBaseNEWT {
static boolean mainRun = false;
- @Test
+ @Test(timeout=300000) // TO 5 min
public void test02TwoThreads() throws InterruptedException {
if(!mainRun) {
System.err.println("Disabled for auto unit test until further analysis - Windows/ATI driver crash");
@@ -53,7 +53,7 @@ public class TestInitConcurrent02NEWT extends InitConcurrentBaseNEWT {
runJOGLTasks(2, false);
}
- @Test
+ @Test(timeout=300000) // TO 5 min
public void test02FourThreads() throws InterruptedException {
if(!mainRun) {
System.err.println("Disabled for auto unit test until further analysis - Windows/ATI driver crash");
@@ -62,7 +62,7 @@ public class TestInitConcurrent02NEWT extends InitConcurrentBaseNEWT {
runJOGLTasks(4, false);
}
- @Test
+ @Test(timeout=300000) // TO 5 min
public void test16SixteenThreads() throws InterruptedException {
if(!mainRun) {
System.err.println("Disabled for auto unit test until further analysis - Windows/ATI driver crash");