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
Fix config diff test #5530
Fix config diff test #5530
Conversation
Signed-off-by: Stanislav Knot <sknot@redhat.com>
ces.add(new ConfigEntry("inter.broker.listener.name", "david")); | ||
ces.add(new ConfigEntry("group.min.session.timeout.ms", "42")); | ||
ces.add(new ConfigEntry("host.name", "honza")); | ||
ces.add(new ConfigEntry("zookeeper.sync.time.ms", "8000")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add comments for why we chose these three configs specifically?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no specific reason. We are doing just 3 random changes. Property host.name
was removed from kafka 3.0.0 config model, so we just switched to another property.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be still worth a comment that they are randomly chosen without any deeper meaning ... even that is an information which might be useful.
...est/java/io/strimzi/operator/cluster/operator/resource/KafkaBrokerConfigurationDiffTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Stanislav Knot <sknot@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need to uncomment the @Disabled
to actually run these tests in the CI?
...est/java/io/strimzi/operator/cluster/operator/resource/KafkaBrokerConfigurationDiffTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Stanislav Knot <sknot@redhat.com>
* Fix KafkaBrokerConfigurationDiffTest Signed-off-by: Stanislav Knot <sknot@redhat.com> * review comments Signed-off-by: Stanislav Knot <sknot@redhat.com> * reenable Signed-off-by: Stanislav Knot <sknot@redhat.com> * review comments Signed-off-by: Stanislav Knot <sknot@redhat.com>
* Fix KafkaBrokerConfigurationDiffTest Signed-off-by: Stanislav Knot <sknot@redhat.com> * review comments Signed-off-by: Stanislav Knot <sknot@redhat.com> * reenable Signed-off-by: Stanislav Knot <sknot@redhat.com> * review comments Signed-off-by: Stanislav Knot <sknot@redhat.com>
* Add support for Kafka 3.0.0 Signed-off-by: Jakub Scholz <www@scholzj.com> * [Kafka 3.x] Remove deprecated methods from TO (#5522) Signed-off-by: Stanislav Knot <sknot@redhat.com> * Rebase & Disable failing unit tests Signed-off-by: Jakub Scholz <www@scholzj.com> * Fix one more test Signed-off-by: Jakub Scholz <www@scholzj.com> * Fix mocking (#5527) Signed-off-by: Stanislav Knot <sknot@redhat.com> * Fix TO ITs Signed-off-by: Jakub Scholz <www@scholzj.com> * Fix config diff test (#5530) * Fix KafkaBrokerConfigurationDiffTest Signed-off-by: Stanislav Knot <sknot@redhat.com> * review comments Signed-off-by: Stanislav Knot <sknot@redhat.com> * reenable Signed-off-by: Stanislav Knot <sknot@redhat.com> * review comments Signed-off-by: Stanislav Knot <sknot@redhat.com> * Close the EmbeddedKafkaClusters Signed-off-by: Jakub Scholz <www@scholzj.com> * Fix TO build Signed-off-by: Jakub Scholz <www@scholzj.com> * Update to 3.0.0 RC2 Signed-off-by: Jakub Scholz <www@scholzj.com> * Add Kafka 2.8.1 as well Signed-off-by: Jakub Scholz <www@scholzj.com> * Update to final version of 3.0.0 Signed-off-by: Jakub Scholz <www@scholzj.com> * Fix TopicST and update upgrade STs JSON Signed-off-by: Jakub Scholz <www@scholzj.com> * check if supported kafka versions contains version (#5606) Signed-off-by: Lukas Kral <lukywill16@gmail.com> * Review comments JSt Signed-off-by: Jakub Scholz <www@scholzj.com> Co-authored-by: Stanislav Knot <sknot@redhat.com> Co-authored-by: Lukáš Král <53821852+im-konge@users.noreply.github.com>
Type of change
Description
Use reflection to call package-protected ctor to fix tests.
Checklist