File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
dd-trace-core/src/traceAgentTest/groovy Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -601,11 +601,12 @@ agent_integration_tests:
601
601
GRADLE_TARGET : " traceAgentTest"
602
602
CACHE_TYPE : " base"
603
603
services :
604
- - name : datadog/agent:7.34.0
604
+ - name : registry.ddbuild.io/images/mirror/ datadog/agent:7.40.1
605
605
alias : local-agent
606
606
variables :
607
607
DD_APM_ENABLED : " true"
608
608
DD_BIND_HOST : " 0.0.0.0"
609
+ DD_HOSTNAME : " local-agent"
609
610
DD_API_KEY : " invalid_key_but_this_is_fine"
610
611
611
612
test_base :
Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ abstract class AbstractTraceAgentTest extends DDSpecification {
18
18
and we use 'testcontainers' for this.
19
19
*/
20
20
if (" true" != System . getenv(" CI" )) {
21
- agentContainer = new GenericContainer (" datadog/agent:7.34.0 " )
21
+ agentContainer = new GenericContainer (" datadog/agent:7.40.1 " )
22
22
.withEnv([" DD_APM_ENABLED" : " true" ,
23
23
" DD_BIND_HOST" : " 0.0.0.0" ,
24
24
" DD_API_KEY" : " invalid_key_but_this_is_fine" ,
25
+ " DD_HOSTNAME" : " doesnotexist" ,
25
26
" DD_LOGS_STDOUT" : " yes" ])
26
27
.withExposedPorts(datadog.trace.api.ConfigDefaults . DEFAULT_TRACE_AGENT_PORT )
27
28
.withStartupTimeout(Duration . ofSeconds(120 ))
You can’t perform that action at this time.
0 commit comments