mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
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:
parent
0d0747e54d
commit
3751881f07
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user