mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 0 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue