mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
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:
parent
51e8b5cb80
commit
65b9e560ce
@ -799,7 +799,7 @@ var _ = SIGDescribe(framework.WithNodeConformance(), "Containers Lifecycle", fun
|
|||||||
PreStop: &v1.LifecycleHandler{
|
PreStop: &v1.LifecycleHandler{
|
||||||
Exec: &v1.ExecAction{
|
Exec: &v1.ExecAction{
|
||||||
Command: ExecCommand(prefixedName(PreStopPrefix, regular1), execCommand{
|
Command: ExecCommand(prefixedName(PreStopPrefix, regular1), execCommand{
|
||||||
Delay: 1,
|
Delay: 10,
|
||||||
ExitCode: 0,
|
ExitCode: 0,
|
||||||
ContainerName: regular1,
|
ContainerName: regular1,
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user