Skip to content

Commit de58508

Browse files
committed
fix test
1 parent 9fab460 commit de58508

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

communication/src/test/groovy/datadog/communication/ddagent/DDAgentFeaturesDiscoveryTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ class DDAgentFeaturesDiscoveryTest extends DDSpecification {
440440
1 * client.newCall(_) >> { Request request -> infoResponse(request, INFO_WITH_TELEMETRY_PROXY_RESPONSE) }
441441
features.supportsTelemetryProxy()
442442
features.supportsDebugger()
443-
features.getDebuggerSnapshotEndpoint() == "debugger/v1/input"
444-
!features.supportsDebuggerDiagnostics()
443+
features.getDebuggerSnapshotEndpoint() == "debugger/v1/diagnostics"
444+
features.supportsDebuggerDiagnostics()
445445
0 * _
446446
}
447447

communication/src/test/resources/agent-features/agent-info-with-telemetry-proxy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"/evp_proxy/v1/",
1616
"/evp_proxy/v2/",
1717
"/debugger/v1/input",
18+
"/debugger/v1/diagnostics",
1819
"/v0.7/config"
1920
],
2021
"feature_flags": [

0 commit comments

Comments
 (0)