Skip to content

Commit

Permalink
HDFS-16119. start balancer with parameters -hotBlockTimeInterval xxx …
Browse files Browse the repository at this point in the history
…is invalid
  • Loading branch information
JiaguodongF committed Jul 16, 2021
1 parent c2cd0bd commit 9b6a712
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ public void testBalancerDispatchHotBlockTimeInterval() {
Field field1 = dispatcher.getClass().getDeclaredField("hotBlockTimeInterval");
field1.setAccessible(true);
Object hotBlockTimeInterval = field1.get(dispatcher);
assertEquals(1000, Long.parseLong(String.valueOf(hotBlockTimeInterval)));
assertEquals(1000, (long)hotBlockTimeInterval);
} catch (Exception e) {
Assert.fail(e.getMessage());
}
Expand Down

0 comments on commit 9b6a712

Please sign in to comment.