kubernetes/test
k8s-merge-robot 1f6711ca07 Merge pull request #25192 from ingvagabund/e2e-framework-util-start-pods-dont-wait-for-zero-pods
Automatic merge from submit-queue

e2e/framework/util.StartPods: don't wait for pods that are not created

When running ``[k8s.io] SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run [Conformance]`` pods can be created in a way in which additional pods have to be create to fully saturate node's capacity CPU in a cluster. Additional pods are created by calling ``framework.StartPods``. The function creates pods with a given label and waits for them (if ``waitForRunning`` is ``true``). This is fine as long as the number of pods to created is non-zero. If there are zero pods to be created and ``waitForRunning`` is ``true``, the function waits forever as there is not going to be any pods with requested label. Thus, resulting in ``Error waiting for 0 pods to be running - probably a timeout``. Causing the e2e test to fail even if it should not.

Adding condition to return from the function immediately if there is not pod to create.
2016-05-05 09:49:43 -07:00
..
component/scheduler/perf Fix the rest of the code 2016-04-29 17:12:10 -04:00
e2e Merge pull request #25192 from ingvagabund/e2e-framework-util-start-pods-dont-wait-for-zero-pods 2016-05-05 09:49:43 -07:00
e2e_node Merge pull request #24445 from vishh/framework-node-e2e 2016-05-02 02:17:48 -07:00
fixtures/pkg/kubectl/cmd/apply Fix reference to versioned object in kubectl apply 2016-02-10 14:11:44 -08:00
images Update Dockerfile 2016-04-29 19:46:30 +05:30
integration Merge pull request #24641 from caesarxuchao/pods-test 2016-05-02 13:16:20 -07:00
kubemark Add Services to Load test 2016-04-21 22:00:26 +02:00
soak Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00