Skip to content

Commit

Permalink
fix actuator pom, and add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdClear committed Sep 25, 2023
1 parent 1d8972b commit 3c8ec4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;


/**
* @author Lunarscave
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void testGetHealth() {
final String[] errorMetrics = new String[] { "nonMetrics" };
validateHealth(healthService.getHealth(), allMetrics);
validateHealth(healthService.getHealth(new String[0]), allMetrics);
validateHealth(healthService.getHealth(testMetrics[0]), new String[]{testMetrics[0]});
validateHealth(healthService.getHealth(testMetrics[0]), new String[] { testMetrics[0] });
validateHealth(healthService.getHealth(testMetrics), testMetrics);
validateHealth(healthService.getHealth(errorMetrics), Constants.HEALTH_ERROR,
"indicator not registered");
Expand Down

0 comments on commit 3c8ec4b

Please sign in to comment.