Skip to content

MINOR: fix typo, use createTopic instead waitForDeletion #20054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

gongxuanzhang
Copy link
Collaborator

@gongxuanzhang gongxuanzhang commented Jun 27, 2025

In ProducerFailureHandlingTest we should use waitForTopic rather than
waitForDeletion

@github-actions github-actions bot added triage PRs from the community tests Test fixes (including flaky tests) clients small Small PRs labels Jun 27, 2025
Comment on lines 280 to 281
admin.createTopics(List.of(new NewTopic(topic10, brokerSize, (short) brokerSize).configs(topicConfig)));
clusterInstance.waitTopicDeletion("topic10");
clusterInstance.waitForTopic("topic10", brokerSize);
Copy link
Collaborator

Choose a reason for hiding this comment

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

How about use clusterInstance.createTopic?

Copy link
Contributor

@frankvicky frankvicky left a comment

Choose a reason for hiding this comment

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

@gongxuanzhang: LGTM assuming CI pass.

@gongxuanzhang gongxuanzhang changed the title MINOR: fix typo, use waitForTopic instead waitForDeletion MINOR: fix typo, use createTopic instead waitForDeletion Jun 27, 2025
Copy link
Collaborator

@Yunyung Yunyung left a comment

Choose a reason for hiding this comment

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

LGTM. This is the fix for #19319 (comment)

@github-actions github-actions bot removed the triage PRs from the community label Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clients small Small PRs tests Test fixes (including flaky tests)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants