Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ST] Move KRaft and NodePools tests from FeatureGatesST to correct classes #10432

Merged
merged 4 commits into from
Aug 11, 2024

Conversation

im-konge
Copy link
Member

@im-konge im-konge commented Aug 8, 2024

Type of change

  • Enhancement

Description

This simple PR moves the two tests - testKafkaManagementTransferToAndFromKafkaNodePool and testKRaftMode - to different classes, as they are not using any feature gates (KRaft and NodePool FGs are GA) and they make more sense to be in the particular classes that are focused on that.

The testKRaftMode was moved to KafkaST, as it covers the Kafka in KRaft mode.
The testKafkaManagementTransferToAndFromKafkaNodePool was moved to KafkaNodePoolST, as it tests the transfer from/to KafkaNodePools (where all the tests in KafkaNodePoolST are focused on NodePools).

Because these two tests were the only tests in the FeatureGatesST, I "disabled" the class because it is empty, until we have another test that will cover some FG, we can remove the @Disabled annotation (which is there just for clarity) - the setup method for CO is useful and we have one FG that is not yet covered by ST, which we can add there ASAP.

Checklist

  • Make sure all tests pass

@im-konge im-konge added this to the 0.43.0 milestone Aug 8, 2024
@im-konge im-konge self-assigned this Aug 8, 2024
@im-konge im-konge requested a review from a team August 8, 2024 19:00
@im-konge
Copy link
Member Author

im-konge commented Aug 8, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@see-quick see-quick left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Signed-off-by: Lukas Kral <[email protected]>
Signed-off-by: Lukas Kral <[email protected]>
@im-konge
Copy link
Member Author

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Lukas Kral <[email protected]>
@im-konge im-konge merged commit f3893c8 into strimzi:main Aug 11, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants