From 45d69b3a5a136c9bb54df8f98469af8b24ed0501 Mon Sep 17 00:00:00 2001 From: Ernest Wong Date: Mon, 24 Feb 2020 14:34:51 -0800 Subject: [PATCH] test: don't use hardcoded pod count for memory limit test --- test/e2e/windows/memory_limits.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/windows/memory_limits.go b/test/e2e/windows/memory_limits.go index 388a5487f67..572594f2fdb 100644 --- a/test/e2e/windows/memory_limits.go +++ b/test/e2e/windows/memory_limits.go @@ -53,7 +53,7 @@ var _ = SIGDescribe("[Feature:Windows] Memory Limits [Serial] [Slow]", func() { ginkgo.Context("attempt to deploy past allocatable memory limits", func() { ginkgo.It("should fail deployments of pods once there isn't enough memory", func() { - overrideAllocatableMemoryTest(f, 4) + overrideAllocatableMemoryTest(f, framework.TestContext.CloudConfig.NumNodes) }) })