Skip to content

Commit

Permalink
modify ut
Browse files Browse the repository at this point in the history
  • Loading branch information
三樵 committed Dec 17, 2024
1 parent fee9a77 commit b36da37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void testRuntimeCloseAndEnableHeartbeat() throws InterruptedException {
heartBeatProcessor.reset();
Thread.sleep(1500);
logger.warn("after disable: " + heartBeatProcessor.getHeartBeatTimes());
Assert.assertTrue(heartBeatProcessor.getHeartBeatTimes() == 0);
Assert.assertEquals(0, heartBeatProcessor.getHeartBeatTimes());

client.enableConnHeartbeat(addr);
heartBeatProcessor.reset();
Expand Down

0 comments on commit b36da37

Please sign in to comment.