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
@@ -116,10 +116,10 @@ def free_console_port(request, port_manager):
"""Get a free TCP port"""
# In case of already use ports we will raise an exception
port = port_manager.get_free_console_port()
port = port_manager.get_free_tcp_port()
# We release the port immediately in order to allow
# the test do whatever the test want
port_manager.release_console_port(port)
port_manager.release_tcp_port(port)
return port