Commit c9acc4c
authored
Prevent spurious failures due to APIBindings not being ready (#3934)
In CI errors related to kcp resources sometimes come up, e.g.:
workspace_test.go:556:
Error Trace: /home/prow/go/src/github.com/kcp-dev/kcp/test/e2e/authentication/workspace_test.go:556
Error: "the server could not find the requested resource (post workspaceauthenticationconfigurations.tenancy.kcp.io)" does not contain "claim and expression cannot both be specified"
Test: TestAcceptableWorkspaceAuthenticationConfigurations/claim-and-expression
The reason for this is that the fixture only waits for the workspace and
underlying logical cluster to be ready.
Instead the fixture now waits until all APIBindings (which are usually
just the kcp APIs) are bound.
Signed-off-by: Nelo-T. Wallus <red.brush9525@fastmail.com>
Signed-off-by: Nelo-T. Wallus <n.wallus@sap.com>1 parent dc3dabf commit c9acc4c
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
222 | 237 | | |
223 | 238 | | |
224 | 239 | | |
| |||
0 commit comments