Commit eca87cfe authored by Marcin Wielgus's avatar Marcin Wielgus

Fix skip logic in e2e framework

parent 98a2808b
...@@ -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