Commit ed2c4166 authored by Elvis Pranskevichus's avatar Elvis Pranskevichus

Shutdown socket before closing

parent db5b7881
......@@ -224,6 +224,7 @@ def start_and_wait_for_server(server_cmd, address, timeout=60):
'----------------------\n' +
'\n\n'.join(server.communicate()))
else:
sock.shutdown(socket.SHUT_RDWR)
sock.close()
return server
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment