mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-18 20:37:57 +00:00
Do not wait for the server to close when shutting down.
This commit is contained in:
parent
c076275bd0
commit
3fd44f5260
@ -118,7 +118,7 @@ class WebServer:
|
||||
|
||||
if self._server:
|
||||
self._server.close()
|
||||
await self._server.wait_closed()
|
||||
# await self._server.wait_closed()
|
||||
if self._app:
|
||||
await self._app.shutdown()
|
||||
if self._handler:
|
||||
|
@ -63,7 +63,8 @@ async def test_start_invalid_vm(loop, gns3vm, controller):
|
||||
host="r1.local",
|
||||
port=8484,
|
||||
user="hello",
|
||||
password="world")
|
||||
password="world",
|
||||
connect=False)
|
||||
|
||||
gns3vm.vmname = "R2"
|
||||
with pytest.raises(GNS3VMError):
|
||||
|
Loading…
Reference in New Issue
Block a user