Remove the comparison of ReadyReplicas to zero.

This commit is contained in:
xiangpengzhao
2017-11-08 22:51:41 +08:00
parent 33f873dbbe
commit 3eada458d7
2 changed files with 1 additions and 12 deletions

View File

@@ -1335,15 +1335,6 @@ func TestValidateDeploymentStatus(t *testing.T) {
observedGeneration: 1,
expectedErr: true,
},
// TODO: Remove the following test case once we stop supporting upgrades from 1.5.
{
name: "don't validate readyReplicas when it's zero",
replicas: 3,
readyReplicas: 0,
availableReplicas: 3,
observedGeneration: 1,
expectedErr: false,
},
{
name: "invalid collisionCount",
replicas: 3,