mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-28 21:13:35 +00:00
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
This commit is contained in:
commit
2b1ab2f0d4
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user