From 65b9e560ce5be7d5c746da90aea0121256b6a41d Mon Sep 17 00:00:00 2001 From: Gunju Kim Date: Thu, 23 May 2024 21:31:02 +0900 Subject: [PATCH] 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. --- test/e2e_node/container_lifecycle_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e_node/container_lifecycle_test.go b/test/e2e_node/container_lifecycle_test.go index 9e38f93301a..cf50dcb9d62 100644 --- a/test/e2e_node/container_lifecycle_test.go +++ b/test/e2e_node/container_lifecycle_test.go @@ -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, }),