diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/adapter/servlet/SAMLFilterServletAdapterTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/adapter/servlet/SAMLFilterServletAdapterTest.java index 8c0af722ee..2e67ee6bf9 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/adapter/servlet/SAMLFilterServletAdapterTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/adapter/servlet/SAMLFilterServletAdapterTest.java @@ -1,7 +1,9 @@ package org.keycloak.testsuite.adapter.servlet; import org.junit.After; +import org.junit.Assume; import org.junit.Before; +import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; import org.keycloak.testsuite.arquillian.annotation.AppServerContainer; @@ -21,6 +23,12 @@ import org.keycloak.testsuite.arquillian.containers.ContainerConstants; filterDependency = "org.keycloak:keycloak-saml-servlet-filter-adapter") public class SAMLFilterServletAdapterTest extends SAMLServletAdapterTest { + @BeforeClass + public static void enabled() { + String appServerJavaHome = System.getProperty("app.server.java.home", ""); + Assume.assumeFalse(appServerJavaHome.contains("1.7") || appServerJavaHome.contains("ibm-java-70")); + } + @Before public void checkRoles() { badClientSalesPostSigServletPage.checkRoles(true);