Fixing windows memory allocation e2e tests after a refactor

Signed-off-by: Mark Rossetti <marosset@microsoft.com>
This commit is contained in:
Mark Rossetti 2023-05-22 11:40:51 -07:00
parent ce05a4f7fc
commit cba8c1f5e2
No known key found for this signature in database
GPG Key ID: 3188D8FC849D8762

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