Skip to content

Commit

Permalink
Merge pull request #4952 from apache/enhance-index-health-check
Browse files Browse the repository at this point in the history
improve test assertion
  • Loading branch information
rnewson committed Jan 6, 2024
2 parents 55844fd + 0073ac7 commit ae36a14
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public void testIndexHealthCheck(@TempDir final Path tempDir) throws Exception {
try {
var resource = new IndexResource(manager);
var check = new IndexHealthCheck(resource);
assertTrue(check.check().isHealthy());
var result = check.check();
assertTrue(result.isHealthy(), result.toString());
} finally {
manager.stop();
}
Expand Down

0 comments on commit ae36a14

Please sign in to comment.