Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ muzzle-dep-report:
CI_USE_TEST_AGENT: "true"
CI_AGENT_HOST: local-agent
services:
- name: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.24.1
- name: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.27.1
alias: local-agent
variables:
LOG_LEVEL: "DEBUG"
Expand Down
4 changes: 4 additions & 0 deletions .gitlab/check_test_agent_results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ SUMMARY_RESPONSE_CODE=$(echo "$SUMMARY_RESPONSE" | awk 'END {print $NF}')

if [[ SUMMARY_RESPONSE_CODE -eq 200 ]]; then
echo "APM Test Agent is running. (HTTP 200)"
elif [[ -n "$CI_USE_TEST_AGENT" ]]; then
echo "APM Test Agent failed to start, had an error, or exited early."
cat summary_response.txt
exit 1
else
echo "APM Test Agent is not running and was not used for testing. No checks failed."
exit 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class TracerConnectionReliabilityTest extends DDSpecification {

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