Skip to content

Commit 615acb3

Browse files
authored
Fix AppConfigurationExporterIntegrationTest (Azure#44490)
Fix AppConfigurationExporterIntegrationTest URL
1 parent 781b44e commit 615acb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/monitor/azure-monitor-opentelemetry-autoconfigure/src/test/java/com/azure/monitor/opentelemetry/autoconfigure/AppConfigurationExporterIntegrationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,9 @@ public void testDisableTracing() throws InterruptedException {
9999
}
100100

101101
private ConfigurationClient getConfigurationClient() {
102+
String endPoint = Configuration.getGlobalConfiguration().get("AZURE_APPCONFIG_ENDPOINT");
102103
return new ConfigurationClientBuilder().credential(credential)
103-
.endpoint(Configuration.getGlobalConfiguration().get("MONITOR_RESOURCE_MANAGER_URL"))
104+
.endpoint(endPoint)
104105
.httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))
105106
.buildClient();
106107
}

0 commit comments

Comments
 (0)