mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Rename console methods in port manager to use the generic tcp term in the name.
Fixes bug when a console port is allocated to a Ghost VM instance and not released. Warnings at exit when TCP/UDP ports are still allocated.
This commit is contained in:
1 parent
182d2e465e
commit
3d3300e83a
13 files changed
+66
-39
No files matched your search
@@ -165,7 +165,7 @@ def test_close(vm, port_manager, loop):
|
||||
port = vm.console
|
||||
loop.run_until_complete(asyncio.async(vm.close()))
|
||||
# Raise an exception if the port is not free
|
||||
port_manager.reserve_console_port(port)
|
||||
port_manager.reserve_tcp_port(port)
|
||||
assert vm.is_running() is False
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user