Skip to content

Commit

Permalink
Fix flaky test (#18805)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris S. Kim authored Sep 14, 2023
1 parent e6b3c26 commit d667cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/hcp/telemetry/otel_sink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
})
}
}
Expand Down

0 comments on commit d667cc3

Please sign in to comment.