Commit 2b1ab2f0 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #38281 from mwielgus/fix-e2e-util-most

Automatic merge from submit-queue (batch tested with PRs 38282, 38281) Fix skip logic in e2e framework Fixes 37792 cc: @wojtek-t
parents 6c4033ee eca87cfe
...@@ -294,7 +294,7 @@ func SkipUnlessNodeCountIsAtLeast(minNodeCount int) { ...@@ -294,7 +294,7 @@ func SkipUnlessNodeCountIsAtLeast(minNodeCount int) {
} }
func SkipUnlessNodeCountIsAtMost(maxNodeCount int) { func SkipUnlessNodeCountIsAtMost(maxNodeCount int) {
if TestContext.CloudConfig.NumNodes <= maxNodeCount { if TestContext.CloudConfig.NumNodes > maxNodeCount {
Skipf("Requires at most %d nodes (not %d)", maxNodeCount, TestContext.CloudConfig.NumNodes) Skipf("Requires at most %d nodes (not %d)", maxNodeCount, TestContext.CloudConfig.NumNodes)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment