kubernetes/test/e2e/common
David Porter b96290c08f e2e node: Update runtime class handler skip logic
There are two runtime class tests which required the container runtime
config to include explicit configuration for `test-handler`. The current
logic skips these tests in non GCE environments. This skip is too strict
since the test is skipped in node e2e environments and in other
environments such as kind, which support running the test and also
configure `test-handler`.

Instead of skipping based on provider, add a new function
`NodeSupportsPreconfiguredRuntimeClassHandler` which examines the
underlying container runtime config and checks if the config includes
`test-handler`. The check is a bit brittle since it assumes container
runtime config paths, but it is a net improvement over skipping the test
entirely on non GCE environments.

This results in the test working in the common test environments, namely
GCE kube-up, node e2e, and kind.

Signed-off-by: David Porter <david@porter.me>
2023-01-24 14:43:24 -08:00
..
network e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
node e2e node: Update runtime class handler skip logic 2023-01-24 14:43:24 -08:00
storage e2e: enhance tests that check for pod staying pending 2023-01-16 09:12:30 +01:00
imports.go Cleanup tests/e2e/common directory - part 1 2021-02-24 20:44:14 +01:00
OWNERS Remove ehashman from sig-node roles 2022-11-01 12:16:43 -07:00
util.go update ginkgo from v1 to v2 and gomega to 1.19.0 2022-07-08 10:44:46 +08:00