mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-31 22:01:06 +00:00 
			
		
		
		
	Fix skip logic in e2e framework
This commit is contained in:
		| @@ -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) | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user