Commit b92609a
committed
e2e: serialize TestGatewayAPI to avoid webhook race condition
TestGatewayAPI creates a test ServiceMeshControlPlane (SMCP) resource,
which triggers the creation of a mutating webhook for all pods in the cluster.
This introduces a race condition where any pod creation request between
the webhook's creation and the SMCP pod becoming ready can fail with:
failed calling webhook "sidecar-injector.istio.io": failed to call webhook:
no endpoints available for service "istiod-openshift-gateway"
Serializing the test ensures it runs in isolation with other tests,
preventing any impact of the mutating webhook on pod creation in the cluster.
Additionally, the timeout for the e2e tests has been increased to 1.5 hours
since TestGatewayAPI adds ~10 minutes to the total execution time.
Previously, tests ran for ~50 minutes, which was close to the 1-hour limit.1 parent 837858e commit b92609a
3 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
129 | 139 | | |
130 | 140 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
| |||
0 commit comments