Skip to content

Commit

Permalink
Add more flexibility to the comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Sep 26, 2024
1 parent 38fea30 commit 18615a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functional_tests/functional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,7 @@ func testAgentMetrics(t *testing.T) {
pmetrictest.IgnoreMetricsOrder(),
pmetrictest.IgnoreScopeMetricsOrder(),
pmetrictest.IgnoreMetricDataPointsOrder(),
pmetrictest.IgnoreSubsequentDataPoints("otelcol_receiver_accepted_log_records", "otelcol_receiver_refused_log_records"),
)
if err != nil && os.Getenv("UPDATE_EXPECTED_RESULTS") == "true" {
writeNewExpectedMetricsResult(t, expectedInternalMetricsFile, selectedInternalMetrics)
Expand Down

0 comments on commit 18615a4

Please sign in to comment.