diff --git a/test/e2e/disruption.go b/test/e2e/disruption.go index 99f0b6e1303..e9ff04b2e22 100644 --- a/test/e2e/disruption.go +++ b/test/e2e/disruption.go @@ -113,7 +113,8 @@ var _ = framework.KubeDescribe("DisruptionController", func() { shouldDeny: true, }, } - for _, c := range evictionCases { + for i := range evictionCases { + c := evictionCases[i] expectation := "should allow an eviction" if c.shouldDeny { expectation = "should not allow an eviction"