test-autoscaling stop using deprecated framework.ExpectNotEqual
This commit is contained in:
		@@ -121,7 +121,7 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() {
 | 
				
			|||||||
		framework.ExpectNoError(err)
 | 
							framework.ExpectNoError(err)
 | 
				
			||||||
		nodeCount = len(nodes.Items)
 | 
							nodeCount = len(nodes.Items)
 | 
				
			||||||
		ginkgo.By(fmt.Sprintf("Initial number of schedulable nodes: %v", nodeCount))
 | 
							ginkgo.By(fmt.Sprintf("Initial number of schedulable nodes: %v", nodeCount))
 | 
				
			||||||
		framework.ExpectNotEqual(nodeCount, 0)
 | 
							gomega.Expect(nodes.Items).ToNot(gomega.BeEmpty())
 | 
				
			||||||
		mem := nodes.Items[0].Status.Allocatable[v1.ResourceMemory]
 | 
							mem := nodes.Items[0].Status.Allocatable[v1.ResourceMemory]
 | 
				
			||||||
		memAllocatableMb = int((&mem).Value() / 1024 / 1024)
 | 
							memAllocatableMb = int((&mem).Value() / 1024 / 1024)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user