Skip to content

Commit

Permalink
rename skipped by itr tag
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Apr 18, 2024
1 parent 5de7402 commit 9990d61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/datadog/ci/ext/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module Test
TAG_ITR_TEST_SKIPPING_ENABLED = "test.itr.tests_skipping.enabled"
TAG_ITR_TEST_SKIPPING_TYPE = "test.itr.tests_skipping.type"
TAG_ITR_TEST_SKIPPING_COUNT = "test.itr.tests_skipping.count"
TAG_ITR_SKIPPED_BY_ITR = "test.itr.skipped_by_itr"
TAG_ITR_SKIPPED_BY_ITR = "test.skipped_by_itr"
TAG_ITR_TESTS_SKIPPED = "_dd.ci.itr.tests_skipped"

# Code coverage tags
Expand Down
2 changes: 1 addition & 1 deletion sig/datadog/ci/ext/test.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module Datadog

TAG_ITR_TEST_SKIPPING_COUNT: "test.itr.tests_skipping.count"

TAG_ITR_SKIPPED_BY_ITR: "test.itr.skipped_by_itr"
TAG_ITR_SKIPPED_BY_ITR: "test.skipped_by_itr"

TAG_ITR_TESTS_SKIPPED: "_dd.ci.itr.tests_skipped"

Expand Down
4 changes: 2 additions & 2 deletions spec/datadog/ci/itr/runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
context "test is skipped by ITR" do
let(:test_span) do
Datadog::CI::Test.new(
Datadog::Tracing::SpanOperation.new("test", tags: {"test.status" => "skip", "test.itr.skipped_by_itr" => "true"})
Datadog::Tracing::SpanOperation.new("test", tags: {"test.status" => "skip", "test.skipped_by_itr" => "true"})
)
end

Expand Down Expand Up @@ -370,7 +370,7 @@
context "when tests were skipped" do
let(:test_span) do
Datadog::CI::Test.new(
Datadog::Tracing::SpanOperation.new("test", tags: {"test.status" => "skip", "test.itr.skipped_by_itr" => "true"})
Datadog::Tracing::SpanOperation.new("test", tags: {"test.status" => "skip", "test.skipped_by_itr" => "true"})
)
end

Expand Down

0 comments on commit 9990d61

Please sign in to comment.