From e66db0bf036c7ffa0026f7c6ef07e0e2a3addc2b Mon Sep 17 00:00:00 2001 From: sudeshnas93 <ssur@redhat.com> Date: Tue, 25 Jun 2024 13:50:07 +0530 Subject: [PATCH] [WFLY-19435]change in line numbers --- .../reactive/messaging/test/ReactiveMessagingKafkaIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/microprofile-reactive-messaging-kafka/src/test/java/org/wildfly/quickstarts/microprofile/reactive/messaging/test/ReactiveMessagingKafkaIT.java b/microprofile-reactive-messaging-kafka/src/test/java/org/wildfly/quickstarts/microprofile/reactive/messaging/test/ReactiveMessagingKafkaIT.java index 829be6aa6b..04cc5973f7 100644 --- a/microprofile-reactive-messaging-kafka/src/test/java/org/wildfly/quickstarts/microprofile/reactive/messaging/test/ReactiveMessagingKafkaIT.java +++ b/microprofile-reactive-messaging-kafka/src/test/java/org/wildfly/quickstarts/microprofile/reactive/messaging/test/ReactiveMessagingKafkaIT.java @@ -121,8 +121,8 @@ private boolean checkResponse(CloseableHttpResponse response, boolean fail) thro return false; } - Assert.assertNotEquals("Expected to find 'Hello' on line 0 of:\n" + lines, -1, lines.get(1).indexOf("Hello")); - Assert.assertNotEquals("Expected to find 'Kafka' on line 1 of:\n" + lines, -1, lines.get(2).indexOf("Kafka")); + Assert.assertNotEquals("Expected to find 'Hello' on line 0 of:\n" + lines, -1, lines.get(0).indexOf("Hello")); + Assert.assertNotEquals("Expected to find 'Kafka' on line 1 of:\n" + lines, -1, lines.get(1).indexOf("Kafka")); for (int i = 2; i < lines.size(); i++) { Assert.assertNotEquals( "Expected to find 'Hello' or 'Kafka' on line " + i +