strimzi / strimzi-kafka-operator

Apache Kafka® running on Kubernetes
https://strimzi.io/
Apache License 2.0
4.79k stars 1.28k forks source link

Fix reliability issue with test case #10635

Closed MichaelMorrisEst closed 1 week ago

MichaelMorrisEst commented 1 week ago

Type of change

Description

Addresses reliability issue with MockKube3ControllersMockTest.testDeploymentController test case by changing the wait condition to wait until after the MockDeploymentController has processed the deployment creation Closes #10616

Checklist

Please go through this checklist and make sure all applicable tasks have been done

scholzj commented 1 week ago

Thanks for the PR.

MichaelMorrisEst commented 1 week ago

@see-quick Yes I was able to reproduce locally (intermittently but reasonably often). After applying the fix, despite trying many times I can no longer reproduce, so all looks good