Merge pull request #118185 from marosset/windows-fix-mem-limit-e2e-test

Fixing windows memory allocation e2e tests after a refactor
This commit is contained in:
Kubernetes Prow Robot 2023-05-23 10:24:38 -07:00 committed by GitHub
commit 1dc8384cdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,7 +182,7 @@ func getNodeMemory(ctx context.Context, f *framework.Framework) nodeMemory {
// Assuming that agent nodes have the same config // Assuming that agent nodes have the same config
// Make sure there is >0 agent nodes, then use the first one for info // Make sure there is >0 agent nodes, then use the first one for info
gomega.Expect(nodeList).To(gomega.BeEmpty()) gomega.Expect(nodeList.Items).ToNot(gomega.BeEmpty())
ginkgo.By("Getting memory details from node status and kubelet config") ginkgo.By("Getting memory details from node status and kubelet config")
status := nodeList.Items[0].Status status := nodeList.Items[0].Status