Skip to content

Commit 82a89e0

Browse files
committed
removing additional draining from InstrumentationSpecification
1 parent b0147c9 commit 82a89e0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

dd-java-agent/instrumentation-testing/src/main/groovy/datadog/trace/agent/test/InstrumentationSpecification.groovy

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import static datadog.trace.api.config.TraceInstrumentationConfig.CODE_ORIGIN_FO
1010
import static datadog.trace.bootstrap.instrumentation.api.AgentTracer.closePrevious
1111
import static datadog.trace.util.AgentThreadFactory.AgentThread.TASK_SCHEDULER
1212

13-
import datadog.trace.config.inversion.ConfigHelper
1413

1514
import ch.qos.logback.classic.Level
1615
import ch.qos.logback.classic.util.ContextInitializer
@@ -428,13 +427,6 @@ abstract class InstrumentationSpecification extends DDSpecification implements A
428427
.hasNext(): "No instrumentation found"
429428
activeTransformer = AgentInstaller.installBytebuddyAgent(
430429
INSTRUMENTATION, true, AgentInstaller.getEnabledSystems(), this)
431-
432-
// Assert no unsupported configs were encountered during agent install.
433-
// This catches configs that were swallowed by InstrumenterIndex.buildModule()/loadModules().
434-
def unsupported = ConfigHelper.get().drainUnsupportedConfigs()
435-
assert unsupported.isEmpty(): "Unsupported configurations found during agent install. " +
436-
"Add these to metadata/supported-configurations.json or opt out with StrictnessPolicy.TEST:\n " +
437-
unsupported.join("\n ")
438430
}
439431

440432
protected String idGenerationStrategyName() {

0 commit comments

Comments
 (0)