Skip to content

Commit

Permalink
Merge pull request #29455 from abutch3r/disable-rm-sasl-tests-for-jav…
Browse files Browse the repository at this point in the history
…a23-individually

Disable SASL Tests for Java versions >22
  • Loading branch information
gjwatts authored Aug 24, 2024
2 parents ed7a428 + 63c8ed6 commit d1a2c21
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import java.util.Map;
import java.util.Properties;

import componenttest.annotation.MaximumJavaLevel;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.AfterClass;
Expand Down Expand Up @@ -60,6 +61,7 @@
* Basic test using a kafka broker with TLS enabled
*/
@RunWith(FATRunner.class)
@MaximumJavaLevel(javaLevel = 22)
@CheckpointTest
public class CheckpointKafkaSaslPlainTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.util.Collections;
import java.util.Map;

import componenttest.annotation.MaximumJavaLevel;
import org.apache.kafka.common.config.SaslConfigs;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.WebArchive;
Expand Down Expand Up @@ -48,6 +49,7 @@
* Test the login module with an aes encoded password and configured encryption key
*/
@RunWith(FATRunner.class)
@MaximumJavaLevel(javaLevel = 22)
public class LibertyLoginModuleTest {

private static final String APP_NAME = "kafkaLoginModuleTest";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import java.util.Map;

import componenttest.annotation.MaximumJavaLevel;
import org.apache.kafka.common.config.SaslConfigs;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.WebArchive;
Expand All @@ -44,6 +45,7 @@
/**
* Test the login module with an unencoded password - should still work
*/
@MaximumJavaLevel(javaLevel = 22)
@RunWith(FATRunner.class)
public class LibertyLoginModuleNoEncTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import java.util.Map;

import componenttest.annotation.MaximumJavaLevel;
import org.apache.kafka.common.config.SaslConfigs;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.WebArchive;
Expand All @@ -44,6 +45,7 @@
/**
* Test the login module with an unencoded password - should still work
*/
@MaximumJavaLevel(javaLevel = 22)
@RunWith(FATRunner.class)
public class LibertyLoginModuleSpecialCharsTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import java.util.Map;

import componenttest.annotation.MaximumJavaLevel;
import org.apache.kafka.common.config.SaslConfigs;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.WebArchive;
Expand Down Expand Up @@ -48,6 +49,7 @@
* Test the login module with xor encoded password
*/
@RunWith(FATRunner.class)
@MaximumJavaLevel(javaLevel = 22)
@Mode(TestMode.FULL)
public class LibertyLoginModuleXorTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import static com.ibm.ws.microprofile.reactive.messaging.fat.kafka.common.KafkaUtils.kafkaPermissions;
import static com.ibm.ws.microprofile.reactive.messaging.fat.kafka.common.KafkaUtils.kafkaStopServer;

import componenttest.annotation.MaximumJavaLevel;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.AfterClass;
Expand Down Expand Up @@ -45,6 +46,7 @@
* Basic test using a kafka broker with TLS enabled
*/
@RunWith(FATRunner.class)
@MaximumJavaLevel(javaLevel = 22)
public class KafkaSaslPlainTest {

private static final String APP_NAME = "kafkaSaslTest";
Expand Down

0 comments on commit d1a2c21

Please sign in to comment.