Commit a08f541
authored
test(operator): fix editStatus to use fresh resource version (kroxylicious#3817)
The deploymentChecksumUpdatesWhenOpenshiftRouteHostAssigned test
was using the stale bootstrapRoute variable instead of the fresh
resource passed to the editStatus lambda. This prevented the retry
mechanism from working correctly, causing 409 Conflict errors.
Changes:
- Use lambda parameter 'r' instead of stale 'bootstrapRoute'
- Use editOrNewStatus() to preserve existing status fields
Fixes the CI failure in:
https://github.com/kroxylicious/kroxylicious/actions/runs/25044994969/job/73359160775
Assisted-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Keith Wall <kwall@apache.org>1 parent 9985c19 commit a08f541
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- kroxylicious-operator/src/test/java/io/kroxylicious/kubernetes/operator/reconciler/kafkaproxy
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
989 | | - | |
990 | | - | |
| 989 | + | |
| 990 | + | |
991 | 991 | | |
992 | 992 | | |
993 | 993 | | |
| |||
0 commit comments