From bcdf9f4b3bb6a554b31a5be5d5dad3b1f596e93e Mon Sep 17 00:00:00 2001 From: Varsha Prasad Narsing Date: Mon, 23 Oct 2023 10:07:34 -0400 Subject: [PATCH] [Fix] Increase timeout for a health endpoint test A lower stopTimeout closes the channel before the process starts causing race conditions while running tests. Signed-off-by: Varsha Prasad Narsing --- pkg/internal/testing/process/process_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/internal/testing/process/process_test.go b/pkg/internal/testing/process/process_test.go index 5b0708227a..a80ff19abe 100644 --- a/pkg/internal/testing/process/process_test.go +++ b/pkg/internal/testing/process/process_test.go @@ -138,7 +138,7 @@ var _ = Describe("Start method", func() { echo 'i started' >&2 `, } - processState.StartTimeout = 5 * time.Second + processState.StartTimeout = 10 * time.Second Expect(processState.Start(stdout, stderr)).To(Succeed()) Eventually(processState.Exited).Should(BeTrue())