Skip to content

Commit

Permalink
integration: check for non-presence of more labels
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiamoe committed Jan 15, 2025
1 parent 52ff8e0 commit 934c665
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,11 @@ func TestSMK6(t *testing.T) {
// If a metric contains a label (key), and that metric is not in the list (value), the test fails.
type exceptForMetrics []string
forbiddenLabels := map[string]exceptForMetrics{
"tls_version": {"probe_http_info"},
"proto": {"probe_http_info"},
"tls_version": {"probe_http_info"},
"proto": {"probe_http_info"},
"error": {"probe_http_info"},
"expected_response": {"probe_http_got_expected_response"},
"group": {},
}

for _, mf := range mfs {
Expand Down

0 comments on commit 934c665

Please sign in to comment.