chia7712 commented on a change in pull request #10077:
URL: https://github.com/apache/kafka/pull/10077#discussion_r571642581
##########
File path:
connect/runtime/src/test/java/org/apache/kafka/connect/integration/RebalanceSourceConnectorsIntegrationTest.java
##########
@@ -359,7 +359,9 @@ private boolean
assertConnectorAndTasksAreUniqueAndBalanced() {
tasks.values().size(),
tasks.values().stream().distinct().collect(Collectors.toList()).size());
assertTrue("Connectors are imbalanced: " +
formatAssignment(connectors), maxConnectors - minConnectors < 2);
+ if (minConnectors > 1) assertEquals("Some workers have no
connectors", connectors.size(), connect.workers().size());
Review comment:
make sure there is no idle worker
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]