Skip to content

Commit

Permalink
no need to check length, same in both versions
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Aller <[email protected]>
  • Loading branch information
zachaller committed Oct 11, 2024
1 parent f525acd commit f70aeea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rollout/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,6 @@ func TestIsScalingEventMissMatchedDesiredOldReplicas(t *testing.T) {
err := json.Unmarshal([]byte(updateRO), &roStatus)
assert.Nil(t, err)

assert.Equal(t, int32(2), len(f.replicaSetLister))

// We have two ReplicaSets, one with 3 pods and one with 10
assert.Equal(t, int32(13), roStatus.Status.Replicas)
assert.Equal(t, int32(13), roStatus.Status.ReadyReplicas)
Expand Down

0 comments on commit f70aeea

Please sign in to comment.