kubernetes/test/e2e/framework
Kubernetes Submit Queue 216a03749f Merge pull request #37261 from MrHohn/dnsautoscale-wait-pods
Automatic merge from submit-queue (batch tested with PRs 37328, 38102, 37261, 31321, 38146)

Fixes flake: wait for dns pods terminating after test completed

From #37194. Based on #36600. Please only look at the second commit.

As mentioned in [comment](https://github.com/kubernetes/kubernetes/issues/37194#issuecomment-262007174), "DNS horizontal autoscaling" test does not wait for the additional pods to be terminated and this may lead to the failure of later tests.

This fix adds a wait loop at the end of the serial test to ensure the cluster recovers to the original state. In the non-serial test it does not wait for the additional pods terminating because it will not affect other tests, given they are able to be run simultaneously. Plus wait for pods terminating will take certain amount of time.

Note this only fixes certain case of #37194. I noticed there are other failures irrelevant to dns autoscaler. LIke [this one](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gce-serial/34/).

@bprashanth @Random-Liu
2016-12-05 20:16:51 -08:00
..
BUILD refactor: generated 2016-12-03 19:10:46 -05:00
cleanup.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
exec_util.go test/e2e 2016-11-23 15:53:09 -08:00
federation_util.go Fix package aliases to follow golang convention 2016-11-30 15:40:50 +08:00
framework.go generated: refactor 2016-11-23 22:30:47 -06:00
kubelet_stats.go test/e2e 2016-11-23 15:53:09 -08:00
log_size_monitoring.go test/e2e 2016-11-23 15:53:09 -08:00
metrics_util.go test/e2e 2016-11-23 15:53:09 -08:00
networking_utils.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
nodes_util.go test/e2e 2016-11-23 15:53:09 -08:00
perf_util.go Fix kubelet perf data to make work again for perfdash. 2016-09-30 11:56:02 -07:00
pods.go - Moved gobindata, refactored ReadOrDie refs 2016-12-02 12:57:03 -05:00
resource_usage_gatherer.go test/e2e 2016-11-23 15:53:09 -08:00
test_context.go Remove kubelet related flags from node e2e. Add a single flag kubelet-flags to pass kubelet flags all together. 2016-11-17 10:17:32 -08:00
util.go Merge pull request #37261 from MrHohn/dnsautoscale-wait-pods 2016-12-05 20:16:51 -08:00