From c7af0e2a248c969334f68fb6d28035275d52e51f Mon Sep 17 00:00:00 2001 From: RayyanSeliya Date: Sun, 27 Jul 2025 01:21:42 +0530 Subject: [PATCH] test: update regex to match new 'Function running on' output format Signed-off-by: RayyanSeliya --- 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 e69145bf2..ccbd18077 100644 --- a/test/e2e/scenario_no_container_test.go +++ b/test/e2e/scenario_no_container_test.go @@ -43,7 +43,7 @@ func TestFunctionRunWithoutContainer(t *testing.T) { funcPort, attempts := "", 0 for funcPort == "" && attempts < 30 { // 15 secs t.Logf("----Function Output:\n%v", stdout.String()) - matches := regexp.MustCompile("Running on host port (.*)").FindStringSubmatch(stdout.String()) + matches := regexp.MustCompile("Function running on (.*)").FindStringSubmatch(stdout.String()) attempts++ if len(matches) > 1 { funcPort = matches[1]