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


##########
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:
   Looks like this method (and the one above) are not even used anymore. Maybe 
we should remove it, what do you think?



-- 
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