KEYCLOAK-9193 CorsExampleAdapterTest fails on Windows
This commit is contained in:
parent
30e538d7ef
commit
b2a7d42310
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@ import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
import static junit.framework.TestCase.assertNotNull;
|
import static junit.framework.TestCase.assertNotNull;
|
||||||
|
import org.junit.Assume;
|
||||||
import static org.keycloak.testsuite.utils.io.IOUtil.loadRealm;
|
import static org.keycloak.testsuite.utils.io.IOUtil.loadRealm;
|
||||||
import static org.keycloak.testsuite.util.URLAssert.assertCurrentUrlStartsWith;
|
import static org.keycloak.testsuite.util.URLAssert.assertCurrentUrlStartsWith;
|
||||||
import static org.keycloak.testsuite.util.WaitUtils.waitForPageToLoad;
|
import static org.keycloak.testsuite.util.WaitUtils.waitForPageToLoad;
|
||||||
|
@ -105,6 +106,7 @@ public class CorsExampleAdapterTest extends AbstractExampleAdapterTest {
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void onBefore() {
|
public void onBefore() {
|
||||||
|
Assume.assumeFalse(System.getProperty("os.name").startsWith("Windows"));
|
||||||
deployer.deploy(CorsDatabaseServiceTestApp.DEPLOYMENT_NAME);
|
deployer.deploy(CorsDatabaseServiceTestApp.DEPLOYMENT_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue