diff --git a/otel/src/functionalTest/kotlin/com/ryandens/javaagent/otel/OTelJavaagentPluginFunctionalTest.kt b/otel/src/functionalTest/kotlin/com/ryandens/javaagent/otel/OTelJavaagentPluginFunctionalTest.kt index 7cd19bd..7c4790c 100644 --- a/otel/src/functionalTest/kotlin/com/ryandens/javaagent/otel/OTelJavaagentPluginFunctionalTest.kt +++ b/otel/src/functionalTest/kotlin/com/ryandens/javaagent/otel/OTelJavaagentPluginFunctionalTest.kt @@ -25,7 +25,11 @@ class OTelJavaagentPluginFunctionalTest { // Verify the result // TODO use testcontainers to start an otel fake backend and retrieve spans from it here to verify instrumentation worked assertTrue(result.output.contains("AgentInstaller - Installed 1 extension(s)")) - assertTrue(result.output.contains("InstrumentationLoader - Installed 257 instrumenter(s)")) + assertTrue( + result.output.contains( + "Loading instrumentation jdbc [class io.opentelemetry.javaagent.instrumentation.jdbc.JdbcInstrumentationModule]", + ), + ) assertTrue( result.output.contains( "Applying instrumentation: sample [class com.ryandens.example.SampleInstrumentationModule]",