dongnuo123 commented on code in PR #19790:
URL: https://github.com/apache/kafka/pull/19790#discussion_r2104816489
##########
core/src/test/scala/integration/kafka/api/PlaintextAdminIntegrationTest.scala:
##########
@@ -2485,8 +2485,6 @@ class PlaintextAdminIntegrationTest extends
BaseAdminIntegrationTest {
// Test offset deletion while consuming
val offsetDeleteResult =
client.deleteConsumerGroupOffsets(testGroupId, util.Set.of(tp1, tp2))
- // Top level error will equal to the first partition level error
- assertFutureThrows(classOf[GroupSubscribedToTopicException],
offsetDeleteResult.all())
Review Comment:
Removed it because `offsetDeleteResult.all()` throws the first exception it
sees in the result topicPartition but the sequence of the entries is not
deterministic
```
test_topic-0 --> GroupSubscribedToTopicException
foo-0 --> UnknownTopicOrPartitionException
```
--
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]