mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +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) {
 | 
			
		||||
	if TestContext.CloudConfig.NumNodes <= maxNodeCount {
 | 
			
		||||
	if TestContext.CloudConfig.NumNodes > maxNodeCount {
 | 
			
		||||
		Skipf("Requires at most %d nodes (not %d)", maxNodeCount, TestContext.CloudConfig.NumNodes)
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user