Commit e41c693
test(operator): fix race condition in Route status update IT test (kroxylicious#3801)
* test(operator): fix race condition in Route status update test
The deploymentChecksumUpdatesWhenOpenshiftRouteHostAssigned test was
failing non-deterministically with 409 Conflict errors when racing
with the OpenShift IngressController.
Changed from patchStatus() to editStatus() which handles resource
version conflicts automatically. Use a distinct host value to ensure
updates are never no-ops.
Fixes kroxylicious#3673
Assisted-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Keith Wall <kwall@apache.org>
* Update kroxylicious-operator/src/test/java/io/kroxylicious/kubernetes/operator/reconciler/kafkaproxy/KafkaProxyReconcilerIT.java
Signed-off-by: Tom Bentley <tombentley@users.noreply.github.com>
---------
Signed-off-by: Keith Wall <kwall@apache.org>
Signed-off-by: Tom Bentley <tombentley@users.noreply.github.com>
Co-authored-by: Tom Bentley <tombentley@users.noreply.github.com>1 parent 5a868d8 commit e41c693
1 file changed
Lines changed: 13 additions & 9 deletions
File tree
- kroxylicious-operator/src/test/java/io/kroxylicious/kubernetes/operator/reconciler/kafkaproxy
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
976 | 976 | | |
977 | 977 | | |
978 | 978 | | |
979 | | - | |
| 979 | + | |
980 | 980 | | |
981 | | - | |
| 981 | + | |
982 | 982 | | |
983 | | - | |
984 | | - | |
985 | | - | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
986 | 990 | | |
987 | | - | |
| 991 | + | |
988 | 992 | | |
989 | | - | |
990 | | - | |
| 993 | + | |
991 | 994 | | |
992 | 995 | | |
993 | 996 | | |
994 | | - | |
| 997 | + | |
995 | 998 | | |
996 | 999 | | |
| 1000 | + | |
997 | 1001 | | |
998 | 1002 | | |
999 | 1003 | | |
| |||
0 commit comments