From 49e0e4e41cf658c84103f1bb564b39fdc4185e2a Mon Sep 17 00:00:00 2001 From: Jaylon McShan Date: Tue, 22 Oct 2024 15:44:58 -0500 Subject: [PATCH] Introducing timeout in order to wait for the job to be completed/ deleted --- kubernetes/resource_kubernetes_job_v1_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/resource_kubernetes_job_v1_test.go b/kubernetes/resource_kubernetes_job_v1_test.go index ff98d94930..fade69f4d4 100644 --- a/kubernetes/resource_kubernetes_job_v1_test.go +++ b/kubernetes/resource_kubernetes_job_v1_test.go @@ -295,7 +295,7 @@ func TestAccKubernetesJobV1_updateTTLFromZero(t *testing.T) { // Step 2: Wait for the Job to complete and be deleted { PreConfig: func() { - time.Sleep(70 * time.Second) + time.Sleep(120 * time.Second) }, Config: testAccKubernetesJobV1Config_customizeDiff_ttlZero(name, imageName), PlanOnly: true,