Skip to content

MINOR: convert ProduceRequestTest to KRaft#17780

Merged
cmccabe merged 1 commit into
apache:trunkfrom
cmccabe:cmccabe_ProduceRequestTest
Nov 14, 2024
Merged

MINOR: convert ProduceRequestTest to KRaft#17780
cmccabe merged 1 commit into
apache:trunkfrom
cmccabe:cmccabe_ProduceRequestTest

Conversation

@cmccabe

@cmccabe cmccabe commented Nov 12, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added core Kafka Broker tests Test fixes (including flaky tests) small Small PRs labels Nov 12, 2024
}).toMap
}

@ParameterizedTest(name = "quorum=kraft")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is just to indicate in the name the test is running via kraft? Just double checking since the quorum is not a parameter in the method.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

the test name is what TestInfo.scala looks at to determine if the test is kraft. Changing the test name was just an easy way of getting it to be kraft

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ok -- just wasn't sure if we also needed the quorum param.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

in this case, no, since we changed the test name directly. sorry I guess that was a bit obscure :)

soon, we will have everything as kraft and we can get rid of this.

@cmccabe cmccabe merged commit 401b347 into apache:trunk Nov 14, 2024
@cmccabe cmccabe deleted the cmccabe_ProduceRequestTest branch November 14, 2024 19:13
rreddy-22 pushed a commit to rreddy-22/kafka-rreddy that referenced this pull request Nov 15, 2024
Reviewers: Justine Olshan <justineolshan@gmail.com>
chiacyu pushed a commit to chiacyu/kafka that referenced this pull request Nov 30, 2024
Reviewers: Justine Olshan <justineolshan@gmail.com>
tedyu pushed a commit to tedyu/kafka that referenced this pull request Jan 6, 2025
Reviewers: Justine Olshan <justineolshan@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Kafka Broker small Small PRs tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants