mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Test metrics endpoint using tag available on Java 9 as well as 8
See gh-10524
This commit is contained in:
parent
bcfb1d17b1
commit
1bd44d89d6
@ -67,7 +67,7 @@ public class MetricsEndpointWebIntegrationTests {
|
||||
@Test
|
||||
public void selectByTag() {
|
||||
MetricsEndpointWebIntegrationTests.client.get()
|
||||
.uri("/application/metrics/jvm.memory.used?tag=id:PS%20Old%20Gen")
|
||||
.uri("/application/metrics/jvm.memory.used?tag=id:Compressed%20Class%20Space")
|
||||
.exchange().expectStatus().isOk().expectBody().jsonPath("$.name")
|
||||
.isEqualTo("jvm.memory.used");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user