Fixed issues when trying to connect and it times out

This commit is contained in:
nathan 2019-01-22 14:41:12 +01:00
parent 1d3d794f99
commit 7f4ce13657

View File

@ -143,7 +143,11 @@ class ReconnectTest extends BaseTest {
}
for (int i = 1; i < count + 1; i++) {
System.out.println(".....");
client.connect(5000);
try {
client.connect(5000);
} catch (IOException e) {
e.printStackTrace();
}
int waitingRetryCount = 20;