Skip to content

Commit

Permalink
update metrics tests (apache#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
r00ta authored May 6, 2021
1 parent 92aaef5 commit 111b4cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ public void testGrafanaDashboards() {
.get("/api/search")
.then()
.statusCode(200)
.body("title", hasItem("hello - Operational Dashboard"))
.body("title", hasItem("LoanEligibility - Domain Dashboard"))
.body("title", hasItem("LoanEligibility - Operational Dashboard"));
.body("title", hasItem("dmn-drools-quarkus-metrics:2.0.0-SNAPSHOT - hello - Operational Dashboard"))
.body("title", hasItem("dmn-drools-quarkus-metrics:2.0.0-SNAPSHOT - LoanEligibility - Domain Dashboard"))
.body("title", hasItem("dmn-drools-quarkus-metrics:2.0.0-SNAPSHOT - Hello - Domain Dashboard"))
.body("title", hasItem("dmn-drools-quarkus-metrics:2.0.0-SNAPSHOT - LoanEligibility - Operational Dashboard"));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,10 @@ public void testGrafanaDashboards() {
.get("/api/search")
.then()
.statusCode(200)
.body("title", hasItem("hello - Operational Dashboard"))
.body("title", hasItem("LoanEligibility - Domain Dashboard"))
.body("title", hasItem("LoanEligibility - Operational Dashboard"));
.body("title", hasItem("dmn-drools-springboot-metrics:2.0.0-SNAPSHOT - hello - Operational Dashboard"))
.body("title", hasItem("dmn-drools-springboot-metrics:2.0.0-SNAPSHOT - LoanEligibility - Domain Dashboard"))
.body("title", hasItem("dmn-drools-springboot-metrics:2.0.0-SNAPSHOT - Hello - Domain Dashboard"))
.body("title", hasItem("dmn-drools-springboot-metrics:2.0.0-SNAPSHOT - LoanEligibility - Operational Dashboard"));
}

@Test
Expand Down

0 comments on commit 111b4cc

Please sign in to comment.