Skip to content

Commit 8becbc5

Browse files
committed
Fix 'test config id exists in ConfigCollector when using StableConfigSource'
1 parent 125744a commit 8becbc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal-api/src/test/groovy/datadog/trace/bootstrap/config/provider/StableConfigSourceTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ apm_configuration_default:
280280

281281
then:
282282
def collectedConfigs = ConfigCollector.get().collect()
283-
def serviceSetting = collectedConfigs.get("SERVICE")
283+
def serviceSetting = collectedConfigs.get(ConfigOrigin.LOCAL_STABLE_CONFIG).("SERVICE")
284284
serviceSetting.configId == expectedConfigId
285285
serviceSetting.value == "test-service"
286286
serviceSetting.origin == ConfigOrigin.LOCAL_STABLE_CONFIG

0 commit comments

Comments
 (0)