Skip to content

Commit

Permalink
✅ correct test expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandens committed Dec 9, 2024
1 parent 0719ed8 commit 345cbc8
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down

0 comments on commit 345cbc8

Please sign in to comment.