mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Fix skip logic in e2e framework
This commit is contained in:
parent
98a2808b94
commit
eca87cfea8
@ -294,7 +294,7 @@ func SkipUnlessNodeCountIsAtLeast(minNodeCount 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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user