File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
components/environment/src/generator/resources
dd-java-agent/agent-builder/src/test/groovy/datadog/trace/agent/test Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 109109 "DD_CODE_ORIGIN_MAX_USER_FRAMES" : [" A" ],
110110 "DD_CONFIG_INVERSION_STRICT" : [" A" ],
111111 "DD_CRASHTRACKING_AGENTLESS" : [" A" ],
112+ "DD_CRASHTRACKING_DEBUG_AUTOCONFIG_ENABLE" : [" A" ],
113+ "DD_CRASHTRACKING_DEBUG_START_FORCE_FIRST" : [" A" ],
114+ "DD_CRASHTRACKING_ENABLED" : [" A" ],
112115 "DD_CRASHTRACKING_PROXY_HOST" : [" A" ],
113116 "DD_CRASHTRACKING_PROXY_PASSWORD" : [" A" ],
114117 "DD_CRASHTRACKING_PROXY_PORT" : [" A" ],
13211324 "OTEL_SDK_DISABLED" : [" A" ],
13221325 "OTEL_SERVICE_NAME" : [" A" ],
13231326 "OTEL_TRACES_EXPORTER" : [" A" ],
1327+ "OTEL_TRACES_SAMPLER_ARG" : [" A" ],
13241328 "OTEL_TRACES_SAMPLER" : [" A" ]
13251329 },
13261330 "aliases" : {
Original file line number Diff line number Diff line change 11package datadog.trace.agent.test
22
3-
3+ import datadog.environment.ConfigHelper
44import datadog.trace.agent.tooling.InstrumenterModule
55import datadog.trace.agent.tooling.bytebuddy.matcher.DDElementMatchers
66import datadog.trace.agent.tooling.bytebuddy.outline.TypePoolFacade
7+ import static datadog.trace.api.ConfigInversionStrictStyle.TEST
78import datadog.trace.test.util.DDSpecification
89
910class DefaultInstrumenterForkedTest extends DDSpecification {
@@ -113,6 +114,8 @@ class DefaultInstrumenterForkedTest extends DDSpecification {
113114 setup :
114115 injectEnvConfig(" DD_INTEGRATIONS_ENABLED" , " false" )
115116 injectEnvConfig(" DD_INTEGRATION_${ value} _ENABLED" , " true" )
117+ def strictness = ConfigHelper . configInversionStrictFlag()
118+ ConfigHelper . setConfigInversionStrict(TEST )
116119
117120 when :
118121 def target = new TestDefaultInstrumenter (name, altName)
@@ -121,6 +124,9 @@ class DefaultInstrumenterForkedTest extends DDSpecification {
121124 System . getenv(" DD_INTEGRATION_${ value} _ENABLED" ) == " true"
122125 target. enabled == enabled
123126
127+ cleanup :
128+ ConfigHelper . setConfigInversionStrict(strictness)
129+
124130 where :
125131 value | enabled | name | altName
126132 " TEST" | true | " test" | " asdf"
You can’t perform that action at this time.
0 commit comments