kubernetes/test
Kubernetes Submit Queue b3a1867529
Merge pull request #55764 from Random-Liu/wait-server-resources
Automatic merge from submit-queue (batch tested with PRs 55764, 55683, 55468, 54409, 55546). 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>.

Wait for server resources.

For https://github.com/kubernetes/kubernetes/issues/55768.

In e2e test for containerd, I sometimes see the following fail (e.g. https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-cri-containerd-e2e-gci-gce/178):
```
Nov 15 02:40:31.291: Couldn't delete ns: "e2e-tests-container-probe-dcvlw": unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server could not find the requested resource (&discovery.ErrGroupDiscoveryFailed{Groups:map[schema.GroupVersion]error{schema.GroupVersion{Group:"metrics.k8s.io", Version:"v1beta1"}:(*errors.StatusError)(0xc420bfd170)}})
```
Usually, only the first few tests fail with this error. The error seems to be returned at this line https://github.com/kubernetes/kubernetes/blob/master/test/e2e/framework/util.go#L1170.

@cheftako @caesarxuchao Does this change make sense to you? Or should I wait for something else to become ready?
/cc @kubernetes/sig-api-machinery-pr-reviews 

**Release note**:

```release-note
none
```
2017-11-15 22:15:52 -08:00
..
conformance Refer to instructions when the test fails. 2017-11-10 11:04:55 -08:00
e2e Merge pull request #55764 from Random-Liu/wait-server-resources 2017-11-15 22:15:52 -08:00
e2e_node Add a cloud-init script to disable live-restore 2017-11-14 21:40:13 -08:00
fixtures add test for convert 2017-11-01 01:14:24 -07:00
images let validation webhook convert objects to the external version before sending them 2017-11-13 12:55:33 -08:00
integration Merge pull request #51955 from danwinship/update-networkpolicy-storage 2017-11-15 12:03:40 -08:00
kubemark Merge pull request #53520 from shun-miyoshi-com/fix_old_name 2017-10-17 01:36:33 -07:00
list update BUILD files 2017-10-15 18:18:13 -07:00
soak Update generated files 2017-11-09 12:14:08 +01:00
utils bump base images to debian stretch 2017-11-10 09:54:10 -06:00
BUILD Add conformance test regression test. 2017-10-27 15:31:20 -07:00
OWNERS Add shyamjvs to test/OWNERS 2017-11-08 15:44:56 +01:00
test_owners.csv remove tpr from test_owners.csv 2017-11-03 21:17:10 +05:30
test_owners.json Remove all traces of federation 2017-10-26 13:37:37 -07:00