Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
liugddx committed Dec 8, 2024
1 parent ea2c68b commit c213e29
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
public class ServerExecuteCommandTest {

@Test
@DisabledOnJre(value = JRE.JAVA_11, disabledReason = "the test case only works on Java 8")
@DisabledOnJre(
value = {JRE.JAVA_11, JRE.JAVA_17},
disabledReason = "the test case only works on Java 8")
public void testJavaVersionCheck() {
String realVersion = System.getProperty("java.version");
System.setProperty("java.version", "1.8.0_191");
Expand Down

0 comments on commit c213e29

Please sign in to comment.