Skip to content

MINOR: Remove some obsolete JUnit tests#17745

Merged
chia7712 merged 5 commits into
apache:trunkfrom
cmccabe:cmccabe_remove_MetadataRequestBetweenDifferentIbpTest
Nov 11, 2024
Merged

MINOR: Remove some obsolete JUnit tests#17745
chia7712 merged 5 commits into
apache:trunkfrom
cmccabe:cmccabe_remove_MetadataRequestBetweenDifferentIbpTest

Conversation

@cmccabe

@cmccabe cmccabe commented Nov 10, 2024

Copy link
Copy Markdown
Contributor

Remove MetadataRequestBetweenDifferentIbpTest.scala and
FetchRequestBetweenDifferentIbpTest.scala. The scenarios they test cannot happen in KRaft,
since MetadataVersion is now dynamic, not statically configured.

Remove FetchRequestWithLegacyMessageFormatTest.scala since legacy message formats are
no longer supported in KRaft.

Remove KafkaMetricReporterClusterIdTest.scala. It is a regression test for KAFKA-4756, but
since auto-generated broker IDs are no longer supported, this is not needed.

Remove FetchRequestTestDowngrade.scala. It tests some behaviors related to how the
ZK-based controller handles really old inter.broker.protocol versions (by removing topic IDs).
Since the ZK-based controller will be gone in 4.0, this is no longer needed.

The scenario that it tests cannot happen in KRaft, since MetadataVersion
is dynamic in KRaft.
@github-actions github-actions Bot added core Kafka Broker tests Test fixes (including flaky tests) small Small PRs labels Nov 10, 2024
@github-actions github-actions Bot removed the small Small PRs label Nov 10, 2024
@cmccabe cmccabe changed the title MINOR: Remove MetadataRequestBetweenDifferentIbpTest.scala MINOR: Remove some obsolete JUnit tests Nov 10, 2024

@chia7712 chia7712 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.

LGTM

@chia7712 chia7712 merged commit a57b7d8 into apache:trunk Nov 11, 2024
chiacyu pushed a commit to chiacyu/kafka that referenced this pull request Nov 30, 2024
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
tedyu pushed a commit to tedyu/kafka that referenced this pull request Jan 6, 2025
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Kafka Broker tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants