mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #121140 from wlq1212/cleanup-e2e-autoscaling-ExpectNotEqual
test-autoscaling stop using deprecated framework.ExpectNotEqual
This commit is contained in:
commit
74888e49f2
@ -124,7 +124,7 @@ var _ = SIGDescribe("Cluster size autoscaling", framework.WithSlow(), func() {
|
||||
framework.ExpectNoError(err)
|
||||
nodeCount = len(nodes.Items)
|
||||
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]
|
||||
memAllocatableMb = int((&mem).Value() / 1024 / 1024)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user