@@ -138,8 +138,6 @@ func doPodResizeAdmissionPluginsTests() {
138
138
tc .enableAdmissionPlugin (ctx , f )
139
139
140
140
tStamp := strconv .Itoa (time .Now ().Nanosecond ())
141
- e2epod .InitDefaultResizePolicy (containers )
142
- e2epod .InitDefaultResizePolicy (expected )
143
141
testPod1 := e2epod .MakePodWithResizableContainers (f .Namespace .Name , "testpod1" , tStamp , containers )
144
142
testPod1 = e2epod .MustMixinRestrictedPodSecurity (testPod1 )
145
143
testPod2 := e2epod .MakePodWithResizableContainers (f .Namespace .Name , "testpod2" , tStamp , containers )
@@ -267,8 +265,6 @@ func doPodResizeSchedulerTests(f *framework.Framework) {
267
265
}` , testPod2CPUQuantityResized .MilliValue (), testPod2CPUQuantityResized .MilliValue ())
268
266
269
267
tStamp := strconv .Itoa (time .Now ().Nanosecond ())
270
- e2epod .InitDefaultResizePolicy (c1 )
271
- e2epod .InitDefaultResizePolicy (c2 )
272
268
testPod1 := e2epod .MakePodWithResizableContainers (f .Namespace .Name , "testpod1" , tStamp , c1 )
273
269
testPod1 = e2epod .MustMixinRestrictedPodSecurity (testPod1 )
274
270
testPod2 := e2epod .MakePodWithResizableContainers (f .Namespace .Name , "testpod2" , tStamp , c2 )
@@ -324,7 +320,6 @@ func doPodResizeSchedulerTests(f *framework.Framework) {
324
320
}` , testPod1CPUQuantityResized .MilliValue (), testPod1CPUQuantityResized .MilliValue ())
325
321
326
322
tStamp = strconv .Itoa (time .Now ().Nanosecond ())
327
- e2epod .InitDefaultResizePolicy (c3 )
328
323
testPod3 := e2epod .MakePodWithResizableContainers (f .Namespace .Name , "testpod3" , tStamp , c3 )
329
324
testPod3 = e2epod .MustMixinRestrictedPodSecurity (testPod3 )
330
325
e2epod .SetNodeAffinity (& testPod3 .Spec , node .Name )
0 commit comments