fix e2e test pause image hard code

Change-Id: I30ee8d5da96b6de42cf7d308776dcb9606d67dfb
This commit is contained in:
m1093782566 2016-08-19 12:11:28 +08:00
parent 57ad590d8d
commit 47e0d4dc89
2 changed files with 2 additions and 2 deletions

View File

@ -461,7 +461,7 @@ func CreateNodeSelectorPods(f *framework.Framework, id string, replicas int, nod
Name: "node-selector",
Namespace: f.Namespace.Name,
Timeout: defaultTimeout,
Image: "gcr.io/google_containers/pause-amd64:3.0",
Image: framework.GetPauseImageName(f.Client),
Replicas: replicas,
HostPorts: map[string]int{"port1": 4321},
NodeSelector: map[string]string{"cluster-autoscaling-test.special-node": "true"},

View File

@ -691,7 +691,7 @@ var _ = framework.KubeDescribe("Density", func() {
}
RCName = "density" + strconv.Itoa(totalPods) + "-" + strconv.Itoa(i) + "-" + uuid
RCConfigs[i] = framework.RCConfig{Client: c,
Image: "gcr.io/google_containers/pause-amd64:3.0",
Image: framework.GetPauseImageName(f.Client),
Name: RCName,
Namespace: ns,
Labels: map[string]string{"type": "densityPod"},