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

+2 -2
View File
@@ -138,9 +138,9 @@ def test_close(vm, port_manager, loop):
loop.run_until_complete(asyncio.async(vm.close()))
# Raise an exception if the port is not free
port_manager.reserve_console_port(console_port)
port_manager.reserve_tcp_port(console_port)
# Raise an exception if the port is not free
port_manager.reserve_console_port(monitor_port)
port_manager.reserve_tcp_port(monitor_port)
assert vm.is_running() is False