File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,7 @@ var _ = Describe("[sig-storage] EmptyDir volumes", func() {
218
218
busyBoxMainContainerName = "busybox-main-container"
219
219
busyBoxSubContainerName = "busybox-sub-container"
220
220
resultString = ""
221
+ deletionGracePeriod = int64 (0 )
221
222
)
222
223
223
224
pod := & v1.Pod {
@@ -238,7 +239,7 @@ var _ = Describe("[sig-storage] EmptyDir volumes", func() {
238
239
Name : busyBoxMainContainerName ,
239
240
Image : imageutils .GetE2EImage (imageutils .BusyBox ),
240
241
Command : []string {"/bin/sh" },
241
- Args : []string {"-c" , "sleep 10 " },
242
+ Args : []string {"-c" , "sleep 100000 " },
242
243
VolumeMounts : []v1.VolumeMount {
243
244
{
244
245
Name : volumeName ,
@@ -259,7 +260,8 @@ var _ = Describe("[sig-storage] EmptyDir volumes", func() {
259
260
},
260
261
},
261
262
},
262
- RestartPolicy : v1 .RestartPolicyNever ,
263
+ TerminationGracePeriodSeconds : & deletionGracePeriod ,
264
+ RestartPolicy : v1 .RestartPolicyNever ,
263
265
},
264
266
}
265
267
You can’t perform that action at this time.
0 commit comments