Merge pull request #88496 from chewong/fix-memory-limit-test-case

test: don't use hardcoded pod count for memory limit test
This commit is contained in:
Kubernetes Prow Robot 2020-03-02 16:16:27 -08:00 committed by GitHub
commit 6c55e4b4f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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