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:
601601    GRADLE_TARGET : " traceAgentTest" 
602602    CACHE_TYPE : " base" 
603603  services :
604-     - name : datadog/agent:7.34.0  
604+     - name : registry.ddbuild.io/images/mirror/ datadog/agent:7.40.1 
605605      alias : local-agent 
606606      variables :
607607        DD_APM_ENABLED : " true" 
608608        DD_BIND_HOST : " 0.0.0.0" 
609+         DD_HOSTNAME : " local-agent" 
609610        DD_API_KEY : " invalid_key_but_this_is_fine" 
610611
611612test_base :
Original file line number Diff line number Diff line change @@ -18,10 +18,11 @@ abstract class AbstractTraceAgentTest extends DDSpecification {
1818     and we use 'testcontainers' for this. 
1919     */  
2020    if  (" true"   !=  System . getenv(" CI"  )) {
21-       agentContainer =  new  GenericContainer (" datadog/agent:7.34.0 "  )
21+       agentContainer =  new  GenericContainer (" datadog/agent:7.40.1 "  )
2222        .withEnv([" DD_APM_ENABLED"  : " true"  ,
2323          " DD_BIND_HOST"    : " 0.0.0.0"  ,
2424          " DD_API_KEY"      : " invalid_key_but_this_is_fine"  ,
25+           " DD_HOSTNAME"     : " doesnotexist"  ,
2526          " DD_LOGS_STDOUT"  : " yes"  ])
2627        .withExposedPorts(datadog.trace.api.ConfigDefaults . DEFAULT_TRACE_AGENT_PORT )
2728        .withStartupTimeout(Duration . ofSeconds(120 ))
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments