Longer timeout to close connections in ssl connection test

This commit is contained in:
ZeroNet 2019-11-11 17:14:36 +01:00 committed by GitHub
parent 2f50fef787
commit 8d95eb937f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class TestConnection:
# Close connection
connection.close("Test ended")
client.stop()
time.sleep(0.01)
time.sleep(0.1)
assert len(file_server.connections) == 0
assert file_server.num_incoming == 2 # One for file_server fixture, one for the test