Browse Source

change localhost to 127.0.0.1 to avoid resolv problems

fixes #795

Change-Id: Ic53060432ead0db0891c24b4abaf077c0d583546
changes/26/30926/1
Richard Fuchs 7 years ago
parent
commit
3845a43d0e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      t/auto-daemon-tests.pl

+ 1
- 1
t/auto-daemon-tests.pl View File

@ -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
}


Loading…
Cancel
Save