Skip to content

Commit 1a7abf3

Browse files
committed
fix the testcase of testUpdateLastInteractiveTime
1 parent 553fbb4 commit 1a7abf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

framework/src/test/java/org/tron/core/net/P2pEventHandlerImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public void testUpdateLastInteractiveTime() throws Exception {
121121
P2pEventHandlerImpl p2pEventHandler = new P2pEventHandlerImpl();
122122

123123
Method method = p2pEventHandler.getClass()
124-
.getDeclaredMethod("updateLastActiveTime", PeerConnection.class, TronMessage.class);
124+
.getDeclaredMethod("updateLastInteractiveTime", PeerConnection.class, TronMessage.class);
125125
method.setAccessible(true);
126126

127127
long t1 = System.currentTimeMillis();

0 commit comments

Comments
 (0)