Skip to content

Commit 92a6054

Browse files
Yoonena-ji
authored andcommitted
Fixed smoke test (revert bug)
1 parent a0d854f commit 92a6054

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dd-smoke-tests/springboot-mongo/src/test/groovy/datadog/smoketest/SpringBootMongoIntegrationTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ class SpringBootMongoIntegrationTest extends AbstractServerSmokeTest {
5555

5656
@Override
5757
protected Set<String> expectedTraces() {
58-
// Updated to match actual trace pattern after MongoDB DBM implementation
59-
return ["[servlet.request[spring.handler[repository.operation]]]"]
58+
// MongoDB driver creates mongo.query spans as children of repository.operation spans
59+
return ["[servlet.request[spring.handler[repository.operation[mongo.query]]]]"]
6060
}
6161

6262
def "put docs and find all docs"() {

0 commit comments

Comments
 (0)