From 3751881f0752b652051ca87469b4d369361d741c Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Fri, 26 May 2017 08:53:14 -0500 Subject: [PATCH] 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. --- tests/integration/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/integration/__init__.py b/tests/integration/__init__.py index 6a5043c4e7..95c76cbb29 100644 --- a/tests/integration/__init__.py +++ b/tests/integration/__init__.py @@ -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