Skip to content

Commit

Permalink
Workaround #15593
Browse files Browse the repository at this point in the history
  • Loading branch information
cescoffier committed Mar 10, 2021
1 parent 6299f4f commit fdcd2f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ quarkus.datasource.jdbc.max-size=8
quarkus.micrometer.binder.vertx.ignore-patterns=/fruit/create
# Add a property to verify match pattern behavior
quarkus.micrometer.binder.http-server.match-patterns=/message/match/\\\\d+/[0-9]+=/message/match/{id}/{sub},\
/message/match/.*=/message/match/{other}
/message/match/.*=/message/match/{other},\
/message/item/\\[0-9]+=/message/item/{id}

deployment.env=test
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void testPrometheusScrapeEndpoint() {

.body(containsString("status=\"200\""))
.body(containsString("uri=\"/message\""))
// .body(containsString("uri=\"/message/item/{id}\"")) // https://github.com/quarkusio/quarkus/issues/15593
.body(containsString("uri=\"/message/item/{id}\""))
.body(containsString("outcome=\"SUCCESS\""))
.body(containsString("uri=\"/message/match/{id}/{sub}\""))
.body(containsString("uri=\"/message/match/{other}\""))
Expand Down

0 comments on commit fdcd2f7

Please sign in to comment.