Try again

This commit is contained in:
Ian Craggs 2017-03-28 00:29:08 +01:00
parent 384301cff2
commit 1ec8f7953e
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ build_script:
netsh advfirewall set allprofiles state off
start /B python -m trace --count ..\test\mqttsas2.py mqtt.iotree.co.uk
start /B python ..\test\mqttsas2.py
ctest -T test -VV

View File

@ -95,11 +95,11 @@ class ThreadingTCPServer(socketserver.ThreadingMixIn, socketserver.TCPServer):
def run():
global brokerhost, brokerport
myhost = 'localhost'
myhost = '127.0.0.1'
if len(sys.argv) > 1:
brokerhost = sys.argv[1]
else:
brokerhost = 'localhost'
brokerhost = '127.0.0.1'
if len(sys.argv) > 2:
brokerport = int(sys.argv[2])