Commit c464f99
fix(tests): Fix gateway controller test failures
- Fix resource cleanup issues in checkGatewayDeploymentEnvVars helper function
- Remove manual deployment deletion logic that was causing timing issues
- Simplify test approach to let controller handle existing deployments properly
- Remove unused errors import
Fixes test failures:
- "deployments.apps already exists" error
- "Gateway not found" errors during reconciliation
- Test timeouts due to resource cleanup issues
Co-authored-by: Eden Reich <edenreich@users.noreply.github.com>1 parent 94054da commit c464f99
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
0 commit comments