mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 08:44:52 +02: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:
|
if self._server:
|
||||||
self._server.close()
|
self._server.close()
|
||||||
await self._server.wait_closed()
|
# await self._server.wait_closed()
|
||||||
if self._app:
|
if self._app:
|
||||||
await self._app.shutdown()
|
await self._app.shutdown()
|
||||||
if self._handler:
|
if self._handler:
|
||||||
|
@ -63,7 +63,8 @@ async def test_start_invalid_vm(loop, gns3vm, controller):
|
|||||||
host="r1.local",
|
host="r1.local",
|
||||||
port=8484,
|
port=8484,
|
||||||
user="hello",
|
user="hello",
|
||||||
password="world")
|
password="world",
|
||||||
|
connect=False)
|
||||||
|
|
||||||
gns3vm.vmname = "R2"
|
gns3vm.vmname = "R2"
|
||||||
with pytest.raises(GNS3VMError):
|
with pytest.raises(GNS3VMError):
|
||||||
|
Loading…
Reference in New Issue
Block a user