Skip to content

Commit 5d247c5

Browse files
Update ddapm-test-agent to latest 1.27.1 with fixed docker-in-docker support. (#9089)
* Update ddapm-test-agent to latest 1.27.1 with fixed docker-in-docker support. * Fail if test agent fails to start --------- Co-authored-by: Laplie Anderson <[email protected]>
1 parent 53e4f70 commit 5d247c5

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ muzzle-dep-report:
519519
CI_USE_TEST_AGENT: "true"
520520
CI_AGENT_HOST: local-agent
521521
services:
522-
- name: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.24.1
522+
- name: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.27.1
523523
alias: local-agent
524524
variables:
525525
LOG_LEVEL: "DEBUG"

.gitlab/check_test_agent_results.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ SUMMARY_RESPONSE_CODE=$(echo "$SUMMARY_RESPONSE" | awk 'END {print $NF}')
77

88
if [[ SUMMARY_RESPONSE_CODE -eq 200 ]]; then
99
echo "APM Test Agent is running. (HTTP 200)"
10+
elif [[ -n "$CI_USE_TEST_AGENT" ]]; then
11+
echo "APM Test Agent failed to start, had an error, or exited early."
12+
cat summary_response.txt
13+
exit 1
1014
else
1115
echo "APM Test Agent is not running and was not used for testing. No checks failed."
1216
exit 0

dd-trace-core/src/test/groovy/datadog/trace/TracerConnectionReliabilityTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class TracerConnectionReliabilityTest extends DDSpecification {
116116

117117
def startTestAgentContainer() {
118118
//noinspection GrDeprecatedAPIUsage Use FixedHostPortGenericContainer against deprecation because we need to know the exposed to configure the tracer at start
119-
def agentContainer = new FixedHostPortGenericContainer("ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.24.1")
119+
def agentContainer = new FixedHostPortGenericContainer("ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.27.1")
120120
.withFixedExposedPort(agentContainerPort, DEFAULT_TRACE_AGENT_PORT)
121121
.withEnv("ENABLED_CHECKS", "trace_count_header,meta_tracer_version_header,trace_content_length")
122122
.waitingFor(Wait.forHttp("/test/traces"))

0 commit comments

Comments
 (0)