fix new test

This commit is contained in:
Bastian Schroll 2019-10-20 17:23:57 +02:00
parent 6f364b8e6a
commit 13fc8460b2

View file

@ -164,7 +164,7 @@ def test_serverStopsWhileConnected(getRunningServer, getClient):
"""!Shutdown server while client is connected"""
getClient.connect()
getRunningServer.stop()
time.sleep(1)
time.sleep(0.1)
assert getClient.isConnected # todo check why the first always return true here
assert not getClient.isConnected