Skip to content

Commit 1bd44d8

Browse files
committed
Test metrics endpoint using tag available on Java 9 as well as 8
See gh-10524
1 parent bcfb1d1 commit 1bd44d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/MetricsEndpointWebIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void selectByName() throws IOException {
6767
@Test
6868
public void selectByTag() {
6969
MetricsEndpointWebIntegrationTests.client.get()
70-
.uri("/application/metrics/jvm.memory.used?tag=id:PS%20Old%20Gen")
70+
.uri("/application/metrics/jvm.memory.used?tag=id:Compressed%20Class%20Space")
7171
.exchange().expectStatus().isOk().expectBody().jsonPath("$.name")
7272
.isEqualTo("jvm.memory.used");
7373
}

0 commit comments

Comments
 (0)