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 109
109
"DD_CODE_ORIGIN_MAX_USER_FRAMES" : [" A" ],
110
110
"DD_CONFIG_INVERSION_STRICT" : [" A" ],
111
111
"DD_CRASHTRACKING_AGENTLESS" : [" A" ],
112
+ "DD_CRASHTRACKING_DEBUG_AUTOCONFIG_ENABLE" : [" A" ],
113
+ "DD_CRASHTRACKING_DEBUG_START_FORCE_FIRST" : [" A" ],
114
+ "DD_CRASHTRACKING_ENABLED" : [" A" ],
112
115
"DD_CRASHTRACKING_PROXY_HOST" : [" A" ],
113
116
"DD_CRASHTRACKING_PROXY_PASSWORD" : [" A" ],
114
117
"DD_CRASHTRACKING_PROXY_PORT" : [" A" ],
1321
1324
"OTEL_SDK_DISABLED" : [" A" ],
1322
1325
"OTEL_SERVICE_NAME" : [" A" ],
1323
1326
"OTEL_TRACES_EXPORTER" : [" A" ],
1327
+ "OTEL_TRACES_SAMPLER_ARG" : [" A" ],
1324
1328
"OTEL_TRACES_SAMPLER" : [" A" ]
1325
1329
},
1326
1330
"aliases" : {
Original file line number Diff line number Diff line change 1
1
package datadog.trace.agent.test
2
2
3
-
3
+ import datadog.environment.ConfigHelper
4
4
import datadog.trace.agent.tooling.InstrumenterModule
5
5
import datadog.trace.agent.tooling.bytebuddy.matcher.DDElementMatchers
6
6
import datadog.trace.agent.tooling.bytebuddy.outline.TypePoolFacade
7
+ import static datadog.trace.api.ConfigInversionStrictStyle.TEST
7
8
import datadog.trace.test.util.DDSpecification
8
9
9
10
class DefaultInstrumenterForkedTest extends DDSpecification {
@@ -113,6 +114,8 @@ class DefaultInstrumenterForkedTest extends DDSpecification {
113
114
setup :
114
115
injectEnvConfig(" DD_INTEGRATIONS_ENABLED" , " false" )
115
116
injectEnvConfig(" DD_INTEGRATION_${ value} _ENABLED" , " true" )
117
+ def strictness = ConfigHelper . configInversionStrictFlag()
118
+ ConfigHelper . setConfigInversionStrict(TEST )
116
119
117
120
when :
118
121
def target = new TestDefaultInstrumenter (name, altName)
@@ -121,6 +124,9 @@ class DefaultInstrumenterForkedTest extends DDSpecification {
121
124
System . getenv(" DD_INTEGRATION_${ value} _ENABLED" ) == " true"
122
125
target. enabled == enabled
123
126
127
+ cleanup :
128
+ ConfigHelper . setConfigInversionStrict(strictness)
129
+
124
130
where :
125
131
value | enabled | name | altName
126
132
" TEST" | true | " test" | " asdf"
You can’t perform that action at this time.
0 commit comments