Skip to content

MINOR; Enable Kraft in ApiVersionTest#11667

Merged
hachikuji merged 8 commits intoapache:trunkfrom
dengziming:remove-junit-testkip
Feb 15, 2022
Merged

MINOR; Enable Kraft in ApiVersionTest#11667
hachikuji merged 8 commits intoapache:trunkfrom
dengziming:remove-junit-testkip

Conversation

@dengziming
Copy link
Copy Markdown
Member

More detailed description of your change

  1. Replace ClusterTestExtensions with QuorumTestHarness
  2. Enable Kraft in ApiVersionTest

Summary of testing strategy (including rationale)
QA

Committer Checklist (excluded from commit message)

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

Comment thread core/src/test/scala/unit/kafka/server/ApiVersionsRequestTest.scala Outdated
@dengziming dengziming force-pushed the remove-junit-testkip branch from 3c42333 to 2e2131c Compare February 8, 2022 07:04
Copy link
Copy Markdown
Contributor

@hachikuji hachikuji left a comment

Choose a reason for hiding this comment

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

Thanks @dengziming . I left a few small comments.

Comment thread clients/src/main/java/org/apache/kafka/common/protocol/ApiKeys.java Outdated
Comment thread core/src/test/scala/unit/kafka/server/AbstractApiVersionsRequestTest.scala Outdated
Comment thread core/src/test/scala/unit/kafka/server/AbstractApiVersionsRequestTest.scala Outdated
Comment thread core/src/test/scala/unit/kafka/server/AbstractApiVersionsRequestTest.scala Outdated
Copy link
Copy Markdown
Contributor

@hachikuji hachikuji left a comment

Choose a reason for hiding this comment

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

Thanks @dengziming . Just one more comment.

Comment thread core/src/test/scala/unit/kafka/server/AbstractApiVersionsRequestTest.scala Outdated
Copy link
Copy Markdown
Contributor

@hachikuji hachikuji left a comment

Choose a reason for hiding this comment

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

The updates look good. Note that CreateTopicsRequestWithForwardingTest is failing because of the change in ApiVersionManager. I think we can just remove the cases that expect forwarding on zk clusters for now.

Comment thread core/src/test/scala/unit/kafka/server/KafkaApisTest.scala Outdated
Comment thread core/src/test/scala/unit/kafka/server/CreateTopicsRequestWithForwardingTest.scala Outdated
@dengziming dengziming requested a review from hachikuji February 14, 2022 23:08
Copy link
Copy Markdown
Contributor

@hachikuji hachikuji left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the patch!

@hachikuji hachikuji merged commit dd36331 into apache:trunk Feb 15, 2022
showuon pushed a commit that referenced this pull request Aug 31, 2022
This test was removed in #11667 since UpdateFeatures is not properly handled in KRaft mode, now we can bring it back since UpdateFeatures is properly handled after #12036.

Reviewers: Luke Chen <showuon@gmail.com>
cmccabe pushed a commit that referenced this pull request Aug 31, 2022
This test was removed in #11667 since UpdateFeatures is not properly handled in KRaft mode, now we can bring it back since UpdateFeatures is properly handled after #12036.

Reviewers: Luke Chen <showuon@gmail.com>
@dengziming dengziming deleted the remove-junit-testkip branch October 8, 2022 11:54
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