Browse Source

Fix flaky test (#18805)

pull/18810/head
Chris S. Kim 1 year ago committed by GitHub
parent
commit
d667cc3809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      agent/hcp/telemetry/otel_sink_test.go

2
agent/hcp/telemetry/otel_sink_test.go

@ -334,7 +334,7 @@ func TestLabelsToAttributes(t *testing.T) {
sink, err := NewOTELSink(ctx, opts)
require.NoError(t, err)
require.Equal(t, test.expectedOTELAttributes, sink.labelsToAttributes(test.goMetricsLabels))
require.ElementsMatch(t, test.expectedOTELAttributes, sink.labelsToAttributes(test.goMetricsLabels))
})
}
}

Loading…
Cancel
Save