diff --git a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/checkpoint/CheckpointKafkaSaslPlainTest.java b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/checkpoint/CheckpointKafkaSaslPlainTest.java index 34fce448f1b..29dda8e9b3e 100644 --- a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/checkpoint/CheckpointKafkaSaslPlainTest.java +++ b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/checkpoint/CheckpointKafkaSaslPlainTest.java @@ -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; @@ -60,6 +61,7 @@ * Basic test using a kafka broker with TLS enabled */ @RunWith(FATRunner.class) +@MaximumJavaLevel(javaLevel = 22) @CheckpointTest public class CheckpointKafkaSaslPlainTest { diff --git a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/LibertyLoginModuleTest.java b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/LibertyLoginModuleTest.java index 283dbd0a7fd..f303156ded3 100644 --- a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/LibertyLoginModuleTest.java +++ b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/LibertyLoginModuleTest.java @@ -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; @@ -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"; diff --git a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/none/LibertyLoginModuleNoEncTest.java b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/none/LibertyLoginModuleNoEncTest.java index baaf009f3e4..29d4689fc61 100644 --- a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/none/LibertyLoginModuleNoEncTest.java +++ b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/none/LibertyLoginModuleNoEncTest.java @@ -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; @@ -44,6 +45,7 @@ /** * Test the login module with an unencoded password - should still work */ +@MaximumJavaLevel(javaLevel = 22) @RunWith(FATRunner.class) public class LibertyLoginModuleNoEncTest { diff --git a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/special_chars/LibertyLoginModuleSpecialCharsTest.java b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/special_chars/LibertyLoginModuleSpecialCharsTest.java index 93fbe4c42d4..b56f5649958 100644 --- a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/special_chars/LibertyLoginModuleSpecialCharsTest.java +++ b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/special_chars/LibertyLoginModuleSpecialCharsTest.java @@ -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; @@ -44,6 +45,7 @@ /** * Test the login module with an unencoded password - should still work */ +@MaximumJavaLevel(javaLevel = 22) @RunWith(FATRunner.class) public class LibertyLoginModuleSpecialCharsTest { diff --git a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/xor/LibertyLoginModuleXorTest.java b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/xor/LibertyLoginModuleXorTest.java index c06754905b1..87c547dedb1 100644 --- a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/xor/LibertyLoginModuleXorTest.java +++ b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/liberty_login/xor/LibertyLoginModuleXorTest.java @@ -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; @@ -48,6 +49,7 @@ * Test the login module with xor encoded password */ @RunWith(FATRunner.class) +@MaximumJavaLevel(javaLevel = 22) @Mode(TestMode.FULL) public class LibertyLoginModuleXorTest { diff --git a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/sasl_plain/KafkaSaslPlainTest.java b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/sasl_plain/KafkaSaslPlainTest.java index d13fe37d6bd..798a0028140 100644 --- a/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/sasl_plain/KafkaSaslPlainTest.java +++ b/dev/com.ibm.ws.microprofile.reactive.messaging_fat/fat/src/com/ibm/ws/microprofile/reactive/messaging/fat/kafka/sasl_plain/KafkaSaslPlainTest.java @@ -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; @@ -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";