File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/test/java/com/alipay/remoting/rpc/heartbeat Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
<modelVersion >4.0.0</modelVersion >
23
23
<groupId >com.alipay.sofa</groupId >
24
24
<artifactId >bolt</artifactId >
25
- <version >1.6.11-SNAPSHOT </version >
25
+ <version >1.6.11</version >
26
26
<packaging >jar</packaging >
27
27
28
28
<name >${project.groupId} :${project.artifactId} </name >
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ public void testRuntimeCloseAndEnableHeartbeat() throws InterruptedException {
108
108
heartBeatProcessor .reset ();
109
109
Thread .sleep (1500 );
110
110
logger .warn ("after disable: " + heartBeatProcessor .getHeartBeatTimes ());
111
- Assert .assertTrue ( heartBeatProcessor .getHeartBeatTimes () == 0 );
111
+ Assert .assertEquals ( 0 , heartBeatProcessor .getHeartBeatTimes ());
112
112
113
113
client .enableConnHeartbeat (addr );
114
114
heartBeatProcessor .reset ();
You can’t perform that action at this time.
0 commit comments