m1a2st commented on code in PR #23386:
URL: https://github.com/apache/kafka/pull/23386#discussion_r3946079876


##########
streams/integration-tests/src/test/java/org/apache/kafka/streams/integration/FineGrainedAutoResetIntegrationTest.java:
##########
@@ -428,8 +426,8 @@ private static final class TestingUncaughtExceptionHandler 
implements StreamsUnc
         boolean correctExceptionThrown = false;
         @Override
         public StreamThreadExceptionResponse handle(final Throwable throwable) 
{
-            assertThat(throwable.getClass().getSimpleName(), 
is("StreamsException"));
-            assertThat(throwable.getCause().getClass().getSimpleName(), 
is("NoOffsetForPartitionException"));
+            assertEquals("StreamsException", 
throwable.getClass().getSimpleName());
+            assertEquals("NoOffsetForPartitionException", 
throwable.getCause().getClass().getSimpleName());

Review Comment:
   ```suggestion
               assertEquals(StreamsException.class, throwable.getClass());
               assertEquals(NoOffsetForPartitionException.class, 
throwable.getCause().getClass());
   ```



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