From 37b625fd9908fb22f236d9068f13a5cb0670a3e9 Mon Sep 17 00:00:00 2001 From: vramik Date: Mon, 20 Nov 2017 11:30:44 +0100 Subject: [PATCH] KEYCLOAK-5872 add preview assumption to InvalidationCrossDCTest.authzResourceInvalidationTest --- .../keycloak/testsuite/crossdc/InvalidationCrossDCTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/crossdc/InvalidationCrossDCTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/crossdc/InvalidationCrossDCTest.java index 49aaa95096..0571c666eb 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/crossdc/InvalidationCrossDCTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/crossdc/InvalidationCrossDCTest.java @@ -32,6 +32,7 @@ import org.keycloak.representations.idm.UserRepresentation; import org.keycloak.representations.idm.authorization.ResourceRepresentation; import org.keycloak.testsuite.Assert; import org.keycloak.common.util.Retry; +import org.keycloak.testsuite.ProfileAssume; import org.keycloak.testsuite.admin.ApiUtil; /** @@ -181,6 +182,8 @@ public class InvalidationCrossDCTest extends AbstractAdminCrossDCTest { @Test public void authzResourceInvalidationTest() throws Exception { + ProfileAssume.assumePreview(); + enableDcOnLoadBalancer(DC.FIRST); enableDcOnLoadBalancer(DC.SECOND);