KEYCLOAK-5872 add preview assumption to InvalidationCrossDCTest.authzResourceInvalidationTest

This commit is contained in:
vramik 2017-11-20 11:30:44 +01:00
parent 8e53ccf5ab
commit 37b625fd99

View file

@ -32,6 +32,7 @@ import org.keycloak.representations.idm.UserRepresentation;
import org.keycloak.representations.idm.authorization.ResourceRepresentation; import org.keycloak.representations.idm.authorization.ResourceRepresentation;
import org.keycloak.testsuite.Assert; import org.keycloak.testsuite.Assert;
import org.keycloak.common.util.Retry; import org.keycloak.common.util.Retry;
import org.keycloak.testsuite.ProfileAssume;
import org.keycloak.testsuite.admin.ApiUtil; import org.keycloak.testsuite.admin.ApiUtil;
/** /**
@ -181,6 +182,8 @@ public class InvalidationCrossDCTest extends AbstractAdminCrossDCTest {
@Test @Test
public void authzResourceInvalidationTest() throws Exception { public void authzResourceInvalidationTest() throws Exception {
ProfileAssume.assumePreview();
enableDcOnLoadBalancer(DC.FIRST); enableDcOnLoadBalancer(DC.FIRST);
enableDcOnLoadBalancer(DC.SECOND); enableDcOnLoadBalancer(DC.SECOND);