e2e: Increase preStop hook delay to deflake the test

This delays the preStop hook to allow sufficient time for the readiness
probe to be executed.
This commit is contained in:
Gunju Kim 2024-05-23 21:31:02 +09:00
parent 51e8b5cb80
commit 65b9e560ce
No known key found for this signature in database
GPG Key ID: 9300A528F3F0DAB7

View File

@ -799,7 +799,7 @@ var _ = SIGDescribe(framework.WithNodeConformance(), "Containers Lifecycle", fun
PreStop: &v1.LifecycleHandler{
Exec: &v1.ExecAction{
Command: ExecCommand(prefixedName(PreStopPrefix, regular1), execCommand{
Delay: 1,
Delay: 10,
ExitCode: 0,
ContainerName: regular1,
}),