Commit 1bd44d89 authored by Andy Wilkinson's avatar Andy Wilkinson

Test metrics endpoint using tag available on Java 9 as well as 8

See gh-10524
parent bcfb1d17
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment