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

Improve test coverage of KafkaAssemblyOperator in KRaft mode #9558

Merged

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Jan 15, 2024

Type of change

  • Task

Description

This PR improves the test coverage of KafkaAssemblyOperator in Kraft mode. It is based on the existing KafkaAssemblyOperatorWithPoolsTest, but with focus on Kraft. It also moves the one (and only) KRaft related test from KafkaAssemblyOperatorWithPoolsTest into the new class.

Checklist

  • Write tests
  • Make sure all tests pass

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.40.0 milestone Jan 15, 2024
@scholzj
Copy link
Member Author

scholzj commented Jan 19, 2024

@ppatierno Any chance you have a look at this? Thanks.

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, I assume some test cases with some invalid configuration of the KRaft cluster are already covered by UTs right? Meaning there is no need to create some of them for the node pool.

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

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

LGTM

@scholzj scholzj merged commit f9f389e into strimzi:main Jan 20, 2024
13 checks passed
@scholzj scholzj deleted the improve-test-coverage-of-KAO-in-KRaft-mode branch January 20, 2024 12:04
jankalinic pushed a commit to jankalinic/strimzi-kafka-operator that referenced this pull request Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants