Skip to content

Commit

Permalink
better code
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyBoy-WYH committed Sep 20, 2023
1 parent 62a6bd8 commit 6216976
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public void testMetricsBackend() {
value = e.getValue();
Assert.assertTrue(String.format(
"Expect map value for key %s but got %s",
key, value),
key, value),
value instanceof Map);
host = (Map<?, ?>) value;
assertMapContains(host, "mem_max");
Expand Down Expand Up @@ -259,7 +259,7 @@ public void testMetricsBackend() {
value = e.getValue();
Assert.assertTrue(String.format(
"Expect map value for key %s but got %s",
key, value),
key, value),
value instanceof Map);
Map<?, ?> regionServer = (Map<?, ?>) value;
assertMapContains(regionServer, "mem_max");
Expand Down

0 comments on commit 6216976

Please sign in to comment.