Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
  • Loading branch information
Frank Jogeleit committed Mar 4, 2024
1 parent 6abe973 commit 3e3dc4b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/listener/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ func Test_MetricsListener(t *testing.T) {
t.Errorf("unexpected Error: %s", err)
}

summary := findMetric(metricFam, "cluster_policy_report_summary")
if summary == nil {
t.Fatalf("Metric not found: cluster_policy_report_summary")
}
result := findMetric(metricFam, "cluster_policy_report_result")
if result == nil {
t.Fatalf("Metric not found: cluster_policy_report_result")
Expand All @@ -127,10 +123,6 @@ func Test_MetricsListener(t *testing.T) {
t.Errorf("unexpected Error: %s", err)
}

summary := findMetric(metricFam, "policy_report_summary")
if summary == nil {
t.Fatalf("Metric not found: policy_report_summary")
}
result := findMetric(metricFam, "policy_report_result")
if result == nil {
t.Fatalf("Metric not found: policy_report_result")
Expand Down

0 comments on commit 3e3dc4b

Please sign in to comment.