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:
Jeremy committed 2015-02-23 17:42:55 -07:00
1 parent 182d2e465e
commit 3d3300e83a
13 files changed
+66 -39

No files matched your search

+1 -1
View File
@@ -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