From d41b68578117f27e6a7bbda81bbd3cf60f4d1800 Mon Sep 17 00:00:00 2001 From: Ozan Gunalp Date: Wed, 26 Jun 2024 15:20:14 +0200 Subject: [PATCH] Disabled flaky Kafka tests --- .../kafka/deployment/dev/KafkaDevServicesDevModeTestCase.java | 2 ++ .../src/test/java/io/quarkus/it/kafka/KafkaConnectorTest.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/extensions/smallrye-reactive-messaging-kafka/deployment/src/test/java/io/quarkus/smallrye/reactivemessaging/kafka/deployment/dev/KafkaDevServicesDevModeTestCase.java b/extensions/smallrye-reactive-messaging-kafka/deployment/src/test/java/io/quarkus/smallrye/reactivemessaging/kafka/deployment/dev/KafkaDevServicesDevModeTestCase.java index 32a2438dc66b8d..1a9f9ff61709aa 100644 --- a/extensions/smallrye-reactive-messaging-kafka/deployment/src/test/java/io/quarkus/smallrye/reactivemessaging/kafka/deployment/dev/KafkaDevServicesDevModeTestCase.java +++ b/extensions/smallrye-reactive-messaging-kafka/deployment/src/test/java/io/quarkus/smallrye/reactivemessaging/kafka/deployment/dev/KafkaDevServicesDevModeTestCase.java @@ -16,6 +16,7 @@ import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.asset.StringAsset; import org.jboss.shrinkwrap.api.spec.JavaArchive; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; @@ -46,6 +47,7 @@ public JavaArchive get() { @TestHTTPResource("/prices/stream") URI uri; + @Disabled("Flaky test") @Test public void sseStream() { Client client = ClientBuilder.newClient(); diff --git a/integration-tests/reactive-messaging-kafka/src/test/java/io/quarkus/it/kafka/KafkaConnectorTest.java b/integration-tests/reactive-messaging-kafka/src/test/java/io/quarkus/it/kafka/KafkaConnectorTest.java index 98dbd1998899d9..be548e8e26fd76 100644 --- a/integration-tests/reactive-messaging-kafka/src/test/java/io/quarkus/it/kafka/KafkaConnectorTest.java +++ b/integration-tests/reactive-messaging-kafka/src/test/java/io/quarkus/it/kafka/KafkaConnectorTest.java @@ -10,6 +10,7 @@ import java.util.Map; import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.MethodOrderer; import org.junit.jupiter.api.Order; import org.junit.jupiter.api.Test; @@ -57,6 +58,7 @@ public void testPets() { await().untilAsserted(() -> Assertions.assertEquals(get("/kafka/pets").as(TYPE_REF).size(), 3)); } + @Disabled("MultiSplitter yields flaky results, to investigate") @Test @Order(3) public void testFruits() {