fixed tescase failed

This commit is contained in:
agapple
2019-08-31 13:00:31 +08:00
parent 456945fe3a
commit a60ec6fa42

View File

@@ -111,8 +111,7 @@ public class ServerRunningTest extends AbstractZkTest {
sleep(30000L); sleep(30000L);
} }
private ServerRunningMonitor buildServerRunning(final CountDownLatch countLatch, final final String ip, private ServerRunningMonitor buildServerRunning(final CountDownLatch countLatch, final String ip, final int port) {
final int port) {
ServerRunningData serverData = new ServerRunningData(ip + ":" + port); ServerRunningData serverData = new ServerRunningData(ip + ":" + port);
ServerRunningMonitor runningMonitor = new ServerRunningMonitor(serverData); ServerRunningMonitor runningMonitor = new ServerRunningMonitor(serverData);
runningMonitor.setDestination(destination); runningMonitor.setDestination(destination);