From 969cb2a62bcd9a230f1eed1d780e203b6a4e157d Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 19 Jun 2019 10:55:23 -0400 Subject: [PATCH] change localhost to 127.0.0.1 to avoid resolv problems fixes #795 Change-Id: Ic53060432ead0db0891c24b4abaf077c0d583546 --- t/auto-daemon-tests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/auto-daemon-tests.pl b/t/auto-daemon-tests.pl index 6d54593de..4776a1237 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -32,7 +32,7 @@ SKIP: { # keep trying to connect to the control socket while daemon is starting up my $c; for (1 .. 300) { - $c = NGCP::Rtpengine->new($ENV{RTPENGINE_HOST} // 'localhost', $ENV{RTPENGINE_PORT} // 2223); + $c = NGCP::Rtpengine->new($ENV{RTPENGINE_HOST} // '127.0.0.1', $ENV{RTPENGINE_PORT} // 2223); last if $c->{socket}; Time::HiRes::usleep(100000); # 100 ms x 300 = 30 sec }