Commit 345e3be
committed
fix(ci): wait for operator reconciliation in bucket website test
The "Bucket Website CRUD" test was flaky in CI (ctst-end2end-sharded):
after adding a website endpoint to the overlay, the test immediately
tried to fetch the website within a 60-second retry window. However,
the overlay change triggers a zenko-operator reconciliation cascade
(rolling restarts of ops-scuba → ops-scuba-external-api →
connector-cloudserver → ingress creation), which takes 60-95 seconds.
The test was racing the reconciliation and often lost.
Wait for the operator to finish reconciling before attempting to fetch,
using waitForZenkoToStabilize (waits for DeploymentInProgress=True then
Available=True) and waitForDataServicesToStabilize (waits for dependent
deployments to roll out). This matches the pattern already used by the
azure archive tests after overlay changes.
The cucumber step timeout is raised from the default 100s to 15 minutes
to accommodate the wait functions, consistent with the azure archive
step timeouts.
Also fix a stale assertion message ("after 20 tries" → "after 60 tries").
Issue: ZENKO-52451 parent a8ffb80 commit 345e3be
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
85 | | - | |
| 89 | + | |
86 | 90 | | |
0 commit comments