◐ Shell
clean mode source ↗

fix: local E2E test should not delete CRD by csviri · Pull Request #3324 · operator-framework/java-operator-sdk

AI review requested due to automatic review settings

April 29, 2026 07:07

xstefank

That causes a race condition, where it marks the CRD to be deleted.
But since we don't wait for cleanup of the namespace in E2E eventually the
namespace is deleted by garbage collector and then the CRD is deleted.
Unfortunatelly this can happen when the cluster test is already running.

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>

metacosm

csviri added a commit that referenced this pull request

Apr 30, 2026
* fix: local E2E test should not delete CRD

That causes a race condition, where it marks the CRD to be deleted.
But since we don't wait for cleanup of the namespace in E2E eventually the
namespace is deleted by garbage collector and then the CRD is deleted.
Unfortunately this can happen when the cluster test is already running.

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>