Skip to content

Commit d9c304a

Browse files
dewitt4Copilot
andauthored
Update tests/integration/health_test.go
Co-authored-by: Copilot <[email protected]>
1 parent 87cb117 commit d9c304a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/integration/health_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,9 @@ func TestDashboardContent(t *testing.T) {
112112

113113
for _, expected := range expectedContent {
114114
if !strings.Contains(content, expected) {
115-
targetFound, targets := waitForAgentaFlowTarget(prometheusURL+"/api/v1/targets", healthTimeout, healthRetryWait)
116-
if !targetFound {
117-
t.Fatalf("AgentaFlow target not found in Prometheus targets after %v. Last response: %s", healthTimeout, targets)
115+
t.Errorf("Dashboard missing expected content: %q", expected)
116+
}
118117
}
119-
}
120118

121119
<<<<<<< Updated upstream
122120
// TestPrometheusTargets verifies Prometheus is scraping AgentaFlow

0 commit comments

Comments
 (0)