test: don't use hardcoded pod count for memory limit test

This commit is contained in:
Ernest Wong
2020-02-24 14:34:51 -08:00
parent 4cadaf2563
commit 45d69b3a5a

View File

@@ -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)
})
})