Skip to content

Commit

Permalink
Merge pull request #6479 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…6478-to-release-1.1

🌱 test: tolerate zero pods in WaitForPodListCondition
  • Loading branch information
k8s-ci-robot authored May 8, 2022
2 parents c4cf824 + 3e9b507 commit c727d95
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/framework/pod_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ func WaitForPodListCondition(ctx context.Context, input WaitForPodListConditionI
if err := input.Lister.List(ctx, podList, input.ListOptions); err != nil {
return false, err
}
Expect(len(podList.Items)).ToNot(BeZero())

// all pods in the list should satisfy the condition
err := input.Condition(podList)
Expand Down

0 comments on commit c727d95

Please sign in to comment.