From 6c572aef8e037a71e3447f9c833ce87ab7c4fc04 Mon Sep 17 00:00:00 2001 From: Jefferson Ramos Date: Mon, 2 Oct 2023 14:50:48 -0300 Subject: [PATCH] test: increase timeout to wait func to get ready on no-container test --- test/e2e/scenario_no_container_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/scenario_no_container_test.go b/test/e2e/scenario_no_container_test.go index 42503722f9..f00e52e304 100644 --- a/test/e2e/scenario_no_container_test.go +++ b/test/e2e/scenario_no_container_test.go @@ -41,7 +41,7 @@ func TestFunctionRunWithoutContainer(t *testing.T) { knFuncTerm1.OnWaitCallback = func(stdout *bytes.Buffer) { t.Log("-----Executing OnWaitCallback") funcPort, attempts := "", 0 - for funcPort == "" && attempts < 10 { // 5 secs + for funcPort == "" && attempts < 30 { // 15 secs t.Logf("----Function Output:\n%v", stdout.String()) matches := regexp.MustCompile("Running on host port (.*)").FindStringSubmatch(stdout.String()) attempts++