See gh-31948
This commit is contained in:
Johnny Lim
2022-08-02 00:53:06 +09:00
committed by Stephane Nicoll
parent c05d0c51b7
commit 6a4681baf5
9 changed files with 18 additions and 20 deletions

View File

@@ -315,7 +315,6 @@ class WebMvcMetricsFilterTests {
@Test
void trailingSlashShouldNotRecordDuplicateMetrics() throws Exception {
this.mvc.perform(get("/api/c1/simple/10")).andExpect(status().isOk());
this.mvc.perform(get("/api/c1/simple/10/")).andExpect(status().isOk());
assertThat(this.registry.get("http.server.requests").tags("status", "200", "uri", "/api/c1/simple/{id}").timer()