Skip to content

Commit

Permalink
Merge branch 'main' into LLT-5939_fix_windows_network_provisioning
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiaspeters authored Jan 22, 2025
2 parents f5002c3 + 44f8084 commit 7ac3db2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Empty file added .unreleased/natlab_fix
Empty file.
5 changes: 2 additions & 3 deletions nat-lab/tests/test_wg_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from contextlib import AsyncExitStack
from datetime import datetime
from helpers import SetupParameters, setup_environment
from Pyro5.errors import CommunicationError # type:ignore
from utils.bindings import TelioAdapterType
from utils.connection_util import ConnectionTag, new_connection_by_tag
from utils.process import ProcessExecError
Expand Down Expand Up @@ -43,9 +44,7 @@ async def test_wg_adapter_cleanup(conn_tag: ConnectionTag):
await conn.create_process(
["taskkill", "/T", "/F", "/IM", "python.exe"]
).execute()
except ProcessExecError:
pass
except ConnectionRefusedError as e:
except (CommunicationError, ConnectionRefusedError, ProcessExecError) as e:
print(datetime.now(), f"First libtelio failed with {e}")

# Check if libtelio left hanging wintun adapter, might now always happen, so we just leave test
Expand Down

0 comments on commit 7ac3db2

Please sign in to comment.