Commit 30da399
Gemini CLI User
fix(integration): Use kubectl wait for etcd readiness in OLM test
The 'validateOlmAddon' integration test was using a custom retry loop with 'retry.Expo' to check if the etcd operator's CSV had been successfully installed. This could lead to intermittent failures (flakes) in CI.
This change replaces the custom Go retry loop with a single, more idiomatic 'kubectl wait' command. The command waits for the CSV's status phase to become 'Succeeded', using 'kubectl''s built-in polling mechanism.
This makes the test more robust and less prone to flakiness.1 parent cdfdf97 commit 30da399
1 file changed
Lines changed: 2 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | 516 | | |
531 | | - | |
532 | | - | |
| 517 | + | |
| 518 | + | |
533 | 519 | | |
534 | 520 | | |
535 | 521 | | |
| |||
0 commit comments