Fixed pods e2e test.

Fixed pods e2e test. The test was failing due to PR #5256.
This commit is contained in:
Jerzy Szczepkowski 2015-03-12 14:05:50 +01:00
parent a3fd0a9fd5
commit f24531c88e

View File

@ -250,6 +250,7 @@ var _ = Describe("Pods", func() {
pod.Labels["time"] = value pod.Labels["time"] = value
pod.ResourceVersion = podOut.ResourceVersion pod.ResourceVersion = podOut.ResourceVersion
pod.UID = podOut.UID pod.UID = podOut.UID
pod.Spec.Host = podOut.Spec.Host
pod, err = podClient.Update(pod) pod, err = podClient.Update(pod)
if err != nil { if err != nil {
Fail(fmt.Sprintf("Failed to update pod: %v", err)) Fail(fmt.Sprintf("Failed to update pod: %v", err))