diff --git a/e2e_tests/test_driver/end_to_end_test.go b/e2e_tests/test_driver/end_to_end_test.go index cde3df5..5efa764 100644 --- a/e2e_tests/test_driver/end_to_end_test.go +++ b/e2e_tests/test_driver/end_to_end_test.go @@ -44,7 +44,7 @@ func shutdownBrokerConnection(t *testing.T, client mqtt.Client, wg *sync.WaitGro func setupBrokerConnection(t *testing.T, wg *sync.WaitGroup) (mqtt.Client, func()) { brokerAddr := os.Getenv("MQTT_BROKER_ADDR") if brokerAddr == "" { - brokerAddr = "localhost:1884" + brokerAddr = "127.0.0.1:1884" } opts := mqtt.NewClientOptions()