File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dd-java-agent/src/test/groovy/datadog/trace/agent Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,15 +55,15 @@ class InitializationTelemetryTest extends Specification {
5555
5656 def " incomplete agent start-up" () {
5757 // In this case, the SecurityManager blocks a custom permission that is checked by bytebuddy causing
58- // agent initialization to fail. However, we should catch the exception allowing the application
58+ // agent initialization to fail. However, we should catch the exception allowing the application
5959 // to run normally.
6060 when :
6161 def result = InitializationTelemetryCheck . runTestJvm(InitializationTelemetryCheck.BlockByteBuddy )
6262
6363 then :
6464 result. exitCode == 0
6565 ! result. telemetryJson. contains(' library_entrypoint.complete' )
66- result. telemetryJson. contains(' error_type:java.lang.IllegalStateException ' )
66+ result. telemetryJson. contains(' error_type:java.lang.reflect.InvocationTargetException ' )
6767 }
6868
6969 def " block forwarder env var" () {
You can’t perform that action at this time.
0 commit comments