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
Neil MacDougall 4e0c15f56b
E2E Tests: Reduce default timeout (#10863)
* e2e tests: reducedefault timeout to 10s

* Use timeouts in cluster manager test

* Fix timeout for cluster deletion

* Try even shorter timeout

* Revert back to 10s

* Address PR feedback

* Use common type for options

* Fix lint

* Fix lint - too many blank lines

* Increase timeout for terminal

* Improve reliability of the Istio tests

* Fix lint issues

* Fix typos in refactor to PO

* Fix typo in tab name

* Add resilience for the docs test

* Add timeout for extensions test

* Add test resilience for docs page

* Fix lint by removing trailing spaces

* Add test resilience

* Fix link opening exception handling

* Fix merge issue

* Fix whitespace

* Fix indentation

* Update extensions.spec.ts

* Fix lint and use standard timeout option

* Fix merge issue and revert some extra changes

* Revert extra test changes

* Remove test change for extensions
2024-06-12 09:51:07 +01:00