k3s/test/e2e_node
Kubernetes Submit Queue 407bef47f8 Merge pull request #52373 from dashpole/eviction_cleanup
Automatic merge from submit-queue (batch tested with PRs 52960, 52373). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..

Refactor eviction tests

fixes: #52203
We have a bunch of eviction tests, which each break independently, and take a large amount of time to fix.
This refactors these tests to share the core eviction testing logic.  Each tests needs only to set kubelet flags, and specify which pods to run.
I decided to omit the memory eviction tests because they work.  Best not to disturb them.

A large portion of the code changes are the renaming of inode_eviction_test.go -> eviction_test.go

This should probably wait until after https://github.com/kubernetes/kubernetes/pull/50392

/assign @mtaufen @Random-Liu
2017-09-25 11:17:45 -07:00
..
builder Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
conformance use more-specific arm64v8 instead of deprecated aarch64 organization 2017-08-21 10:18:19 +08:00
environment Support remote runtimes with native cAdvisor support 2017-08-31 16:41:53 -04:00
jenkins refactor tests, and add soft eviction test 2017-09-23 20:44:55 -07:00
perftype Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
remote Allow passing image description from e2e node test config 2017-08-14 17:11:05 -07:00
runner Merge pull request #50831 from Random-Liu/instance-metadata-from-flag 2017-08-21 14:29:57 -07:00
services Explicitly enable docker shared-pid for e2e_node 2017-09-01 23:50:11 +02:00
system add tags to e2e and integration tests 2017-09-21 15:53:23 -07:00
BUILD Merge pull request #52373 from dashpole/eviction_cleanup 2017-09-25 11:17:45 -07:00
OWNERS Add yujuhong to test/e2e_node/OWNERS 2017-07-20 09:48:54 -07:00
README.md
apparmor_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
benchmark_util.go Replace hard-code "cpu" and "memory" to consts 2017-08-16 16:37:50 +08:00
container.go run hack/update-all 2017-06-22 11:31:03 -07:00
container_manager_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
cpu_manager_test.go Added node e2e tests for the CPU Manager feature. 2017-09-11 09:29:24 -07:00
critical_pod_test.go Replace hard-code "cpu" and "memory" to consts 2017-08-16 16:37:50 +08:00
density_test.go Move the sig-instrumentation test to a dedicated folder 2017-08-07 10:33:03 +02:00
doc.go
docker_test.go Merge pull request #51634 from verb/sharedpid-default-off 2017-09-05 18:40:33 -07:00
docker_util.go Explicitly enable docker shared-pid for e2e_node 2017-09-01 23:50:11 +02:00
dockershim_checkpoint_test.go add dockershim checkpoint node e2e test 2017-06-29 13:26:09 -07:00
dynamic_kubelet_config_test.go Improve dynamic kubelet config e2e node test and fix bugs 2017-09-07 15:50:17 -07:00
e2e_node_suite_test.go Fix code implicitly casting clientsets to getters 2017-08-06 15:30:13 +02:00
eviction_test.go refactor tests, and add soft eviction test 2017-09-23 20:44:55 -07:00
garbage_collector_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
gke_environment_test.go Add node e2e test for Docker's live-restore 2017-08-17 16:58:21 -07:00
gpus.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
gubernator.sh
image_id_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
image_list.go Multi-arch allowPrivilegeEscalation tests 2017-09-19 19:17:03 +05:30
kubelet_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
lifecycle_hook_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
log_path_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
memory_eviction_test.go Replace hard-code "cpu" and "memory" to consts 2017-08-16 16:37:50 +08:00
mirror_pod_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
node_container_manager_test.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
node_problem_detector_linux.go update e2e tests and yaml files 2017-08-23 14:05:21 +08:00
pods_container_manager_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
resource_collector.go run hack/update-all 2017-06-22 11:31:03 -07:00
resource_usage_test.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
restart_test.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
runtime_conformance_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30
security_context_test.go Multi-arch allowPrivilegeEscalation tests 2017-09-19 19:17:03 +05:30
simple_mount.go run hack/update-all 2017-06-22 11:31:03 -07:00
summary_test.go Summary tests should report rss usage now 2017-09-11 13:12:04 -04:00
util.go refactor tests, and add soft eviction test 2017-09-23 20:44:55 -07:00
volume_manager_test.go Port e2e tests for multi architecture 2017-09-01 05:40:52 +05:30

README.md