Commit Graph

2 Commits

Author SHA1 Message Date
Richard Cox 1c9e290786
Unpin rancher version in e2e tests, update tests following vai on by default (#14498)
* WIP - just testing how are suite behaves with vai on

* Use common method to create query params for steve api requests

* with vai on there's no workload page... so update tests

* flip back hom page urls

* more fixes

* More fixes

* E2eRequestUtils --> RequestUtils, smarter isVaiCacheEnabled

* better method name, fix a11y tests

* disable vai for vai tests

* fetching the setting gives a 404. hardcode for the moment

* give up, make method async

* use pathWithDefaultSteveParams everywhere

* rename grep tag vai to noVai (matching what the tests run)

* fixes

* Allow more time for rancher to restart after toggling a ff

* fix network policies

* Changes following review

* replace pathWithDefaultSteveParams with ?*

* fixes

* Remove temp code that enables FF, should be defunct once enabled by default

* unpin, improve script

* on failure upload rancher logs to job artifacts

* fix

* test specific rancher commit, and rancher debug level

* try head again following overnight fixes

* Wire in VAI_ENABLED env var (to avoid), fixed isVaiCacheEnabled (no value, use default)

* Standardise references to small image, use `k8s.gcr.io/pause` instead of `nginx:alpine`

* test - see if specific workalods are the sticking point

* reduce impact of cronjob

* reduce impact of cronjob - additional

* Improve e2e tests that spam resource creation/delete
- take gaps when creating resources
- wait for ns deletion (containing resources) to complete before continueing)

* even stricker cron schedule

* update three additional places where workloads spam happens

* fix tag of new @vai tests

* use default count, reduce to min. also removed horrible `while`

* temp fail cronjobs to see logs + recordings

* improvements to noVai test cases, move new utils to commands

* fix flaky compliance and kontainer tests

* proper context, fix lint, fix ingress test

* fix lint
2025-07-02 15:40:14 +01:00
Richard Cox ab1483b3b9 Add script to locally run e2e tests as per gates 2025-06-25 11:48:03 +01:00