Skip to content

Commit

Permalink
fix the testcase of testUpdateLastInteractiveTime
Browse files Browse the repository at this point in the history
  • Loading branch information
317787106 committed Aug 16, 2024
1 parent 553fbb4 commit 1a7abf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void testUpdateLastInteractiveTime() throws Exception {
P2pEventHandlerImpl p2pEventHandler = new P2pEventHandlerImpl();

Method method = p2pEventHandler.getClass()
.getDeclaredMethod("updateLastActiveTime", PeerConnection.class, TronMessage.class);
.getDeclaredMethod("updateLastInteractiveTime", PeerConnection.class, TronMessage.class);
method.setAccessible(true);

long t1 = System.currentTimeMillis();
Expand Down

0 comments on commit 1a7abf3

Please sign in to comment.