Skip to content
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

KAFKA-17137: Ensure Admin APIs are properly tested (part 0) #16676

Merged
merged 1 commit into from
Sep 8, 2024

Conversation

FrankYang0529
Copy link
Member

@FrankYang0529 FrankYang0529 commented Jul 24, 2024

  • deleteTopics + timeoutMs
  • listTopics + timeoutMs
  • listTopics + listInternal
  • describeTopics + timeoutMs
  • describeTopics + partitionSizeLimitPerResponse

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@chia7712
Copy link
Contributor

chia7712 commented Aug 6, 2024

@FrankYang0529 Could you please rebase code?

@FrankYang0529 FrankYang0529 force-pushed the KAFKA-17137 branch 2 times, most recently from ab2b6c4 to 02e553e Compare September 5, 2024 09:32
@chia7712 chia7712 marked this pull request as ready for review September 5, 2024 12:12
@ParameterizedTest
@ValueSource(strings = Array("zk", "kraft"))
def testDeleteTopicsWithOptionTimeoutMs(quorum: String): Unit = {
client = createAdminClient
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use createInvalidAdminClient. Otherwise, the request could be sent out even though the timeout = 0

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the suggestion. Updated it.

Signed-off-by: PoAn Yang <payang@apache.org>
@chia7712 chia7712 merged commit 6354f49 into apache:trunk Sep 8, 2024
5 of 6 checks passed
@FrankYang0529 FrankYang0529 deleted the KAFKA-17137 branch September 10, 2024 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants