Skip to content

Commit fe103ee

Browse files
new agent version fails if hostname is not set
1 parent 6d95974 commit fe103ee

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@ agent_integration_tests:
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

611612
test_base:

dd-trace-core/src/traceAgentTest/groovy/AbstractTraceAgentTest.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ abstract class AbstractTraceAgentTest extends DDSpecification {
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))

0 commit comments

Comments
 (0)