Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFCORE-4532] Enable tests on JDK14+ since they no longer fail #4809

Merged
merged 1 commit into from
Oct 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,6 @@ private static void deleteKeyStoreFiles() {
}
}

@BeforeClass
public static void noJDK14Plus() {
Assume.assumeFalse("Avoiding JDK 14 due to https://issues.jboss.org/browse/WFCORE-4532", "14".equals(System.getProperty("java.specification.version")));
}

private static boolean isJDK14Plus() {
return "14".equals(System.getProperty("java.specification.version"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
import org.jboss.as.test.integration.security.common.CoreUtils;
import org.jboss.as.test.shared.TestSuiteEnvironment;
import org.jboss.dmr.ModelNode;
import org.junit.Assume;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.wildfly.core.testrunner.WildflyTestRunner;
import org.wildfly.security.auth.permission.LoginPermission;
Expand Down Expand Up @@ -77,11 +75,6 @@ public class KerberosHttpMgmtSaslTestCase extends AbstractKerberosMgmtSaslTestBa

private static final String NAME = KerberosHttpMgmtSaslTestCase.class.getSimpleName();

@BeforeClass
public static void noJDK14Plus() {
Assume.assumeFalse("Avoiding JDK 14 due to https://issues.jboss.org/browse/WFCORE-4532", "14".equals(System.getProperty("java.specification.version")));
}

private static final ModelControllerClient client = ModelControllerClient.Factory
.create(new ModelControllerClientConfiguration.Builder().setHostName(CoreUtils.getDefaultHost(false))
.setPort(PORT_NATIVE).setProtocol("remote").setConnectionTimeout(CONNECTION_TIMEOUT_IN_MS).build());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
import org.jboss.as.test.shared.TestSuiteEnvironment;
import org.jboss.dmr.ModelNode;
import org.junit.runner.RunWith;
import org.junit.Assume;
import org.junit.BeforeClass;
import org.wildfly.core.testrunner.WildflyTestRunner;
import org.wildfly.security.auth.permission.LoginPermission;
import org.wildfly.test.security.common.TestRunnerConfigSetupTask;
Expand Down Expand Up @@ -76,11 +74,6 @@ public class KerberosNativeMgmtSaslTestCase extends AbstractKerberosMgmtSaslTest

private static final String NAME = KerberosNativeMgmtSaslTestCase.class.getSimpleName();

@BeforeClass
public static void noJDK14Plus() {
Assume.assumeFalse("Avoiding JDK 14 due to https://issues.jboss.org/browse/WFCORE-4532", "14".equals(System.getProperty("java.specification.version")));
}

/**
* Configures test sasl-server-factory to use given mechanism. It also enables/disables SSL based on provided flag.
*/
Expand Down