We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88bb6b0 commit f9f99f5Copy full SHA for f9f99f5
internal-api/src/test/groovy/datadog/trace/api/ProcessTagsForkedTest.groovy
@@ -62,11 +62,16 @@ class ProcessTagsForkedTest extends DDSpecification {
62
}
63
64
def 'should not calculate process tags by default'() {
65
- given:
+ when:
66
+ ProcessTags.reset()
67
def processTags = ProcessTags.tagsForSerialization
- expect:
68
- !ProcessTags.enabled
69
- processTags == null
+ then:
+ assert !ProcessTags.enabled
70
+ assert processTags == null
71
72
+ ProcessTags.addTag("test", "value")
73
74
+ assert ProcessTags.tagsForSerialization == null
75
76
77
def 'should lazily recalculate when a tag is added'() {
0 commit comments