Skip to content

Conversation

Nikita-Shupletsov
Copy link
Contributor

MINOR: changed the condition to only check the test topic to reduce the flakiness of the test.

@github-actions github-actions bot added triage PRs from the community tools tests Test fixes (including flaky tests) small Small PRs labels Oct 8, 2025
String underReplicatedOutput = captureDescribeTopicStandardOut(clusterInstance, buildTopicCommandOptionsWithBootstrap(clusterInstance, "--describe", "--under-replicated-partitions"));
assertEquals("", underReplicatedOutput,
assertFalse(underReplicatedOutput.contains(String.format("Topic: %s", testTopicName)),
String.format("--under-replicated-partitions shouldn't return anything: '%s'", underReplicatedOutput));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: seems the error message would need an update, too?

@mjsax mjsax added ci-approved and removed triage PRs from the community labels Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved small Small PRs tests Test fixes (including flaky tests) tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants