mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Avoid tasks lost during tests creating noisy warnings
This commit is contained in:
2 files changed
+16
-19
No files matched your search
@@ -377,7 +377,7 @@ class Compute:
|
||||
try:
|
||||
self._ws = yield from self._session().ws_connect(self._getUrl("/notifications/ws"), auth=self._auth)
|
||||
except aiohttp.errors.WSServerHandshakeError:
|
||||
self._ws
|
||||
self._ws = None
|
||||
while self._ws is not None:
|
||||
try:
|
||||
response = yield from self._ws.receive()
|
||||
|
||||
Reference in new issue
Block a user