Skip to content

Commit

Permalink
[ELY-2726] Update AlternateSecurityManagerTest to be able to run with…
Browse files Browse the repository at this point in the history
… SE 21
  • Loading branch information
Prarthona Paul committed Mar 14, 2024
1 parent 4486de0 commit a617f78
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import java.util.Stack;

import org.junit.After;
import org.junit.Assume;
import org.junit.Before;
import org.junit.Test;
import org.wildfly.security.ParametricPrivilegedAction;
Expand Down Expand Up @@ -84,6 +85,8 @@ public class AlternateSecurityManagerTest {

@Before
public void before() {
Assume.assumeTrue("Skipping TLS13AuthenticationTest suite, tests are not being run on JDK 17.",
Integer.parseInt(System.getProperty("java.specification.version")) <= 17);
AccessControlContext current = AccessController.getContext();
ProtectionDomain[] domains = getProtectionDomainStack(current);

Expand Down

0 comments on commit a617f78

Please sign in to comment.