snuyanzin commented on code in PR #19552:
URL: https://github.com/apache/flink/pull/19552#discussion_r857602633


##########
flink-connectors/flink-connector-kafka/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaShortRetentionTestBase.java:
##########
@@ -286,7 +286,7 @@ public void runFailOnAutoOffsetResetNoneEager() throws 
Exception {
             fail("should fail with an exception");
         } catch (IllegalArgumentException e) {
             // expected
-            assertTrue(e.getMessage().contains("none"));
+            assertThat(e.getMessage()).contains("none");

Review Comment:
   yes, I think you are right



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to