some improvements

This commit is contained in:
Bastian Schroll 2019-10-20 19:07:16 +02:00
parent 056e7857e5
commit 06549b8e26
3 changed files with 3 additions and 1 deletions

View file

@ -173,7 +173,7 @@ def test_serverStopsWhileConnected(getRunningServer, getClient):
getRunningServer.stop()
timeout = 10
while getClient.isConnected:
print(timeout)
time.sleep(0.1)
timeout = timeout - 1
if timeout is 0:
assert 0