Files
kubernetes/test/e2e/node
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
..
2022-12-16 20:14:04 +01:00
2022-12-16 20:14:04 +01:00
2022-12-16 20:14:04 +01:00
2022-12-16 20:14:04 +01:00
2022-12-16 20:14:04 +01:00
2022-12-16 20:14:04 +01:00
2022-11-01 12:16:43 -07:00
2022-12-16 20:14:04 +01:00
2022-12-16 20:14:04 +01:00
2022-12-16 20:14:04 +01:00
2019-02-15 09:13:07 -05:00
2022-12-16 20:14:04 +01:00
2022-12-16 20:14:04 +01:00

WARNING: Do not add tests in this directory

There are two types of end-to-end tests in Kubernetes:

Tests located in ${KUBE_ROOT}/test/e2e/common are shared by both Cluster and Node E2E test jobs. Tests in ${KUBE_ROOT}/test/e2e_node are exclusively owned by Node E2E. If you want to add a test, most likely than not, you want to add the test to one of the two directories mentioned above. If you are unsure, please check with the OWNER of the directory. This directory currently contains misplaced and legacy tests; they will be cleaned up in the future.