Address comments; fix test failure

This commit is contained in:
Janet Kuo
2016-02-22 10:33:59 -08:00
parent dc78af948e
commit 4699a6d8a2
3 changed files with 26 additions and 28 deletions

View File

@@ -849,6 +849,7 @@ func testDeploymentLabelAdopted(f *Framework) {
Expect(c.Extensions().ReplicaSets(ns).Delete(newRS.Name, nil)).NotTo(HaveOccurred())
}()
// The RS and pods should be relabeled before the status is updated by syncRollingUpdateDeployment
err = waitForDeploymentStatus(c, ns, deploymentName, replicas, replicas-1, replicas+1, 0)
Expect(err).NotTo(HaveOccurred())