Restore the sleep() in checkReconnectSwitch().
If the client isn't connected at all, sync() returns quickly and the test fails because it doesn't wait long enough for the client.
Showing
Please register or sign in to comment
If the client isn't connected at all, sync() returns quickly and the test fails because it doesn't wait long enough for the client.