From f914a30b6e6adc63ec929734394153e0d6107e73 Mon Sep 17 00:00:00 2001 From: mposolda Date: Tue, 8 Mar 2016 17:43:13 +0100 Subject: [PATCH] Disable DBLockTest for now --- .../src/test/java/org/keycloak/testsuite/model/DBLockTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/integration/src/test/java/org/keycloak/testsuite/model/DBLockTest.java b/testsuite/integration/src/test/java/org/keycloak/testsuite/model/DBLockTest.java index f33362ce50..bc0cb99c8d 100644 --- a/testsuite/integration/src/test/java/org/keycloak/testsuite/model/DBLockTest.java +++ b/testsuite/integration/src/test/java/org/keycloak/testsuite/model/DBLockTest.java @@ -24,6 +24,7 @@ import java.util.concurrent.atomic.AtomicInteger; import org.jboss.logging.Logger; import org.junit.Assert; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.keycloak.models.KeycloakSession; import org.keycloak.models.KeycloakSessionFactory; @@ -63,7 +64,7 @@ public class DBLockTest extends AbstractModelTest { commit(); } - @Test + // @Test // TODO: Running -Dtest=DBLockTest,UserModelTest might cause issues sometimes. Reenable this once DB lock is refactored. public void testLockConcurrently() throws Exception { long startupTime = System.currentTimeMillis();