From 1593dd299ba4d87a14ec28a94f498c935ef66f85 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 23 Apr 2021 15:09:46 +0200 Subject: [PATCH] test: sip: Don't use DNS lookups Otherwise build servers might not be happy. --- tests/test-sip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-sip.c b/tests/test-sip.c index 5ad1ae6..52a15be 100644 --- a/tests/test-sip.c +++ b/tests/test-sip.c @@ -263,13 +263,13 @@ test_sip_call_direct_calls (SipFixture *fixture, g_object_get (fixture->origin_alice, "local-port", &local_port_alice, NULL); - address_alice = g_strdup_printf ("sip:alice@localhost:%d", + address_alice = g_strdup_printf ("sip:alice@127.0.0.1:%d", local_port_alice); g_object_get (fixture->origin_bob, "local-port", &local_port_bob, NULL); - address_bob = g_strdup_printf ("sip:bob@localhost:%d", + address_bob = g_strdup_printf ("sip:bob@127.0.0.1:%d", local_port_bob); /* Case 1: Bob calls Alice, Alice rejects call */