@@ -159,7 +159,7 @@ def test_failing_and_passing_quarantined_and_unquarantined_tests(self):
159
159
def test_env_var_disables_quarantine (self ):
160
160
self .testdir .makepyfile (test_fail_quarantined = _TEST_FAIL_QUARANTINED )
161
161
162
- rec = self .inline_run ("--ddtrace" , "-q" , extra_env = {"DD_TEST_QUARANTINE_ENABLED " : "0" })
162
+ rec = self .inline_run ("--ddtrace" , "-q" , extra_env = {"DD_TEST_MANAGEMENT_ENABLED " : "0" })
163
163
164
164
assert rec .ret == 1
165
165
assert_stats (rec , quarantined = 0 , failed = 1 )
@@ -178,7 +178,7 @@ def test_env_var_does_not_override_api(self):
178
178
test_management = TestManagementSettings (enabled = False ),
179
179
),
180
180
):
181
- rec = self .inline_run ("--ddtrace" , "-q" , extra_env = {"DD_TEST_QUARANTINE_ENABLED " : "1" })
181
+ rec = self .inline_run ("--ddtrace" , "-q" , extra_env = {"DD_TEST_MANAGEMENT_ENABLED " : "1" })
182
182
183
183
assert rec .ret == 1
184
184
assert_stats (rec , failed = 1 )
@@ -270,11 +270,11 @@ def test_quarantine_spans_without_atr(self):
270
270
[suite_span_pass_quarantined ] = _get_spans_from_list (spans , "suite" , "test_pass_quarantined.py" )
271
271
272
272
[test_span_fail_quarantined ] = _get_spans_from_list (spans , "test" , "test_fail_quarantined" )
273
- assert test_span_fail_quarantined .get_tag ("test.quarantine .is_quarantined" ) == "true"
273
+ assert test_span_fail_quarantined .get_tag ("test.management .is_quarantined" ) == "true"
274
274
assert test_span_fail_quarantined .get_tag ("test.status" ) == "fail"
275
275
276
276
[test_span_pass_quarantined ] = _get_spans_from_list (spans , "test" , "test_pass_quarantined" )
277
- assert test_span_pass_quarantined .get_tag ("test.quarantine .is_quarantined" ) == "true"
277
+ assert test_span_pass_quarantined .get_tag ("test.management .is_quarantined" ) == "true"
278
278
assert test_span_pass_quarantined .get_tag ("test.status" ) == "pass"
279
279
280
280
def test_quarantine_spans_with_atr (self ):
@@ -304,11 +304,11 @@ def test_quarantine_spans_with_atr(self):
304
304
305
305
test_spans_fail_quarantined = _get_spans_from_list (spans , "test" , "test_fail_quarantined" )
306
306
assert len (test_spans_fail_quarantined ) == 6
307
- assert all (span .get_tag ("test.quarantine .is_quarantined" ) == "true" for span in test_spans_fail_quarantined )
307
+ assert all (span .get_tag ("test.management .is_quarantined" ) == "true" for span in test_spans_fail_quarantined )
308
308
assert all (span .get_tag ("test.status" ) == "fail" for span in test_spans_fail_quarantined )
309
309
assert test_spans_fail_quarantined [0 ].get_tag ("test.is_retry" ) is None
310
310
assert all (span .get_tag ("test.is_retry" ) for span in test_spans_fail_quarantined [1 :])
311
311
312
312
[test_span_pass_quarantined ] = _get_spans_from_list (spans , "test" , "test_pass_quarantined" )
313
- assert test_span_pass_quarantined .get_tag ("test.quarantine .is_quarantined" ) == "true"
313
+ assert test_span_pass_quarantined .get_tag ("test.management .is_quarantined" ) == "true"
314
314
assert test_span_pass_quarantined .get_tag ("test.status" ) == "pass"
0 commit comments