From 5d12fc277b32aae6e3775aa0d36dacea64c1d027 Mon Sep 17 00:00:00 2001 From: Jianrong Zhang Date: Thu, 3 Oct 2024 22:03:10 -0400 Subject: [PATCH] [issue-464] Create a Prometheus ServiceMonitor object that can capture/collect metrics from deployed SonataFlow instances --- test/e2e/workflow_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/workflow_test.go b/test/e2e/workflow_test.go index fc1b62a9e..1f26da2f7 100644 --- a/test/e2e/workflow_test.go +++ b/test/e2e/workflow_test.go @@ -179,7 +179,7 @@ var _ = Describe("Workflow Non-Persistence Use Cases :: ", Label("flows-non-pers workflowName := "callbackstatetimeouts" EventuallyWithOffset(1, func() error { cmd := exec.Command("kubectl", "apply", "-f", filepath.Join(projectDir, - "test/testdata/workflow/prometheus/monitoring_enabled", "02-sonataflow_callbackstatetimeouts.sw.yaml"), "-n", targetNamespace) + "test/testdata/workflow/prometheus/monitoring_enabled/sonataflow", "02-sonataflow_callbackstatetimeouts.sw.yaml"), "-n", targetNamespace) _, err := utils.Run(cmd) return err }, 3*time.Minute, time.Second).Should(Succeed())