Remove iproute/ifconfig warning from test suite startup

Recent changes in the test suite no longer rely on listing IPv4
addresses to confirm that the daemons have started, so this warning is
now spurious.
This commit is contained in:
Erik Johnson 2017-05-26 08:53:14 -05:00
parent 0d0747e54d
commit 3751881f07

View File

@ -50,7 +50,6 @@ import salt.runner
import salt.output
import salt.version
import salt.utils
import salt.utils.network
import salt.utils.process
import salt.log.setup as salt_log_setup
from salt.ext import six
@ -270,13 +269,6 @@ class TestDaemon(object):
'''
Fire up the daemons used for zeromq tests
'''
if not salt.utils.network.ip_addrs():
sys.stdout.write(
' * {LIGHT_RED}Unable to list IPv4 addresses. Test suite startup will be\n'
' slower. Install iproute/ifconfig to fix this.{ENDC}\n'.format(
**self.colors
)
)
self.log_server = ThreadedSocketServer(('localhost', SALT_LOG_PORT), SocketServerRequestHandler)
self.log_server_process = threading.Thread(target=self.log_server.serve_forever)
self.log_server_process.daemon = True