Files
kubernetes/test/e2e/node
Kir Kolyshkin 70a2857998 test/e2e/node: fix selinux test failure
Commit 69a473be3 broke the test case (that was checking
that a file from a volume can't be read) by adding a
(wrong) assumption that error should be nil.

Fix the assumption (we do expect the error here).
Note that we were checking file contents before; now when
we check the error from read, checking the contents is
redundant.

The other issue with the test is SELinux should be in enforcing
mode for this to work, so let's check that first to avoid
false positives.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2020-02-17 09:46:59 -08:00
..
2020-01-10 16:21:12 +08:00
2020-01-10 16:21:12 +08:00
2020-01-10 16:21:12 +08:00
2020-02-08 12:30:21 -05:00
2019-05-12 07:35:13 +08:00
2020-02-08 12:30:21 -05:00
2019-10-10 15:52:51 -05:00
2020-02-08 12:30:21 -05:00
2020-02-07 18:16:47 -08:00
2020-02-08 12:30:21 -05:00
2019-02-15 09:13:07 -05:00
2020-02-08 12:30:21 -05:00
2020-01-10 16:21:12 +08:00
2020-02-08 12:30:21 -05: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.