diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/export/prometheus/PrometheusMetricsExportAutoConfigurationTests.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/export/prometheus/PrometheusMetricsExportAutoConfigurationTests.java index 061d8259c4..d1b947dba6 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/export/prometheus/PrometheusMetricsExportAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/export/prometheus/PrometheusMetricsExportAutoConfigurationTests.java @@ -129,7 +129,7 @@ class PrometheusMetricsExportAutoConfigurationTests { .withPropertyValues("management.metrics.export.prometheus.pushgateway.enabled=true") .withUserConfiguration(BaseConfiguration.class).run((context) -> { assertThat(output).doesNotContain("Invalid PushGateway base url"); - hasGatewayURL(context, "http://localhost:9091/metrics/job/"); + hasGatewayURL(context, "http://localhost:9091/metrics/"); }); } @@ -141,7 +141,7 @@ class PrometheusMetricsExportAutoConfigurationTests { "management.metrics.export.prometheus.pushgateway.base-url=localhost:9090") .withUserConfiguration(BaseConfiguration.class).run((context) -> { assertThat(output).contains("Invalid PushGateway base url").contains("localhost:9090"); - hasGatewayURL(context, "http://localhost:9090/metrics/job/"); + hasGatewayURL(context, "http://localhost:9090/metrics/"); }); } @@ -151,7 +151,7 @@ class PrometheusMetricsExportAutoConfigurationTests { .withPropertyValues("management.metrics.export.prometheus.pushgateway.enabled=true", "management.metrics.export.prometheus.pushgateway.base-url=https://example.com:8080") .withUserConfiguration(BaseConfiguration.class) - .run((context) -> hasGatewayURL(context, "https://example.com:8080/metrics/job/")); + .run((context) -> hasGatewayURL(context, "https://example.com:8080/metrics/")); } private void hasGatewayURL(AssertableApplicationContext context, String url) { diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml index 0390c357d7..31f3fb931a 100644 --- a/spring-boot-project/spring-boot-dependencies/pom.xml +++ b/spring-boot-project/spring-boot-dependencies/pom.xml @@ -167,7 +167,7 @@ 3.14.3 1.0.6 42.2.8 - 0.6.0 + 0.7.0 2.3.1 4.2.1 5.7.3