Add Ubernetes Lite e2e tests for spreading RC and Service pods evenly across all zones.

Fixes #19415
This commit is contained in:
Quinton Hoole
2016-01-22 13:31:14 -08:00
parent c031697848
commit a9fd207140
5 changed files with 313 additions and 57 deletions

View File

@@ -22,7 +22,6 @@ import (
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/labels"
"k8s.io/kubernetes/pkg/types"
"k8s.io/kubernetes/pkg/util"
"k8s.io/kubernetes/pkg/util/wait"
@@ -117,12 +116,3 @@ func ServeImageOrFail(f *Framework, test string, image string) {
Failf("Did not get expected responses within the timeout period of %.2f seconds.", retryTimeout.Seconds())
}
}
func isElementOf(podUID types.UID, pods *api.PodList) bool {
for _, pod := range pods.Items {
if pod.UID == podUID {
return true
}
}
return false
}