diff --git a/test/broker/06-bridge-b2br-remapping.py b/test/broker/06-bridge-b2br-remapping.py index f37eb06f..4c344354 100755 --- a/test/broker/06-bridge-b2br-remapping.py +++ b/test/broker/06-bridge-b2br-remapping.py @@ -17,7 +17,7 @@ def write_config(filename, port1, port2): f.write("port %d\n" % (port2)) f.write("\n") f.write("connection bridge_sample\n") - f.write("address localhost:%d\n" % (port1)) + f.write("address 127.0.0.1:%d\n" % (port1)) f.write("bridge_attempt_unsubscribe false\n") f.write("topic # in 0 local/topic/ remote/topic/\n") f.write("topic prefix/# in 0 local2/topic/ remote2/topic/\n") diff --git a/test/broker/08-ssl-bridge.py b/test/broker/08-ssl-bridge.py index a110e2f7..d84bc5b6 100755 --- a/test/broker/08-ssl-bridge.py +++ b/test/broker/08-ssl-bridge.py @@ -17,7 +17,7 @@ def write_config(filename, port1, port2): f.write("port %d\n" % (port2)) f.write("\n") f.write("connection bridge_test\n") - f.write("address localhost:%d\n" % (port1)) + f.write("address 127.0.0.1:%d\n" % (port1)) f.write("topic bridge/# both 0\n") f.write("notifications false\n") f.write("restart_timeout 2\n")