Part 11 of unit tests update for KRaft #10499
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Step x
Type of change
Description
This is the part 11 of the unit test refactoring to better support KRaft. This part focuses on the
KafkaClusterTest
class. It does the following changes:KafkaClusterPodSetTest
with StrimziPodSet-based unit tests was merged into theKafkaClusterTest
(we anyway don't have any StatefulSet tests anymore anyway, which was the purpose of the separation)KafkaClusterZooBasedTest
.KafkaClusterTest
was rewritten to KRaft and to make it smaller, it was split into three classes:KafkaClusterTest
with most of the testsKafkaClusterListenersTest
with the tests focused on the listenersKafkaClusterStorageTest
with the tests arounf storageChecklist