Skip to content

Commit

Permalink
fix the telemetry issue
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Oct 8, 2024
1 parent 6cc87ac commit 9bbc5ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/datadog/ci/test_optimisation/component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@ def mark_if_skippable(test)

def count_skipped_test(test)
@mutex.synchronize do
Telemetry.itr_skipped

@total_tests_count += 1

return if !test.skipped? || !test.skipped_by_itr?
Expand All @@ -173,6 +171,8 @@ def count_skipped_test(test)
return
end

Telemetry.itr_skipped

@skipped_tests_count += 1
end
end
Expand Down

0 comments on commit 9bbc5ec

Please sign in to comment.