Skip to content

MINOR: Convert FetchRequestDownConversionConfigTest.scala to KRaft#17759

Merged
cmccabe merged 2 commits into
apache:trunkfrom
cmccabe:convert_FetchRequestDownConversionConfigTest_to_kraft
Nov 12, 2024
Merged

MINOR: Convert FetchRequestDownConversionConfigTest.scala to KRaft#17759
cmccabe merged 2 commits into
apache:trunkfrom
cmccabe:convert_FetchRequestDownConversionConfigTest_to_kraft

Conversation

@cmccabe

@cmccabe cmccabe commented Nov 11, 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 11, 2024
@cmccabe cmccabe force-pushed the convert_FetchRequestDownConversionConfigTest_to_kraft branch 2 times, most recently from dca5605 to b5deeff Compare November 11, 2024 23:38

@mimaison mimaison left a comment

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.

I left a small suggestion

val topicMap = createTopics(numTopics = 5, numPartitions = 1)
val topicPartitions = topicMap.keySet.toSeq
val topicIds = servers.head.kafkaController.controllerContext.topicIds
val topicIds = getTopicIds()

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.

Nit: we can remove the toMap conversion below. Same in the other tests

@cmccabe cmccabe force-pushed the convert_FetchRequestDownConversionConfigTest_to_kraft branch from b5deeff to 6c95e51 Compare November 12, 2024 18:04
@cmccabe cmccabe merged commit 8a5bfb2 into apache:trunk Nov 12, 2024
@cmccabe cmccabe deleted the convert_FetchRequestDownConversionConfigTest_to_kraft branch November 12, 2024 18:05
chiacyu pushed a commit to chiacyu/kafka that referenced this pull request Nov 30, 2024
tedyu pushed a commit to tedyu/kafka that referenced this pull request Jan 6, 2025
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