C0urante commented on code in PR #12728:
URL: https://github.com/apache/kafka/pull/12728#discussion_r1377879325


##########
connect/runtime/src/test/java/org/apache/kafka/connect/runtime/standalone/StandaloneHerderTest.java:
##########
@@ -281,45 +274,38 @@ public void testDestroyConnector() throws Exception {
         } catch (ExecutionException e) {
             assertTrue(e.getCause() instanceof NotFoundException);
         }

Review Comment:
   The second line from my suggestion is still missing (which is important 
since the cause of the `ExecutionException` could be anything right now, and we 
need to assert that it's a `NotFoundException` instead).



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