From a930b62afc7125e3186ade07bacf112a7588c053 Mon Sep 17 00:00:00 2001 From: Doug Nazar Date: Tue, 13 Apr 2021 05:54:37 -0400 Subject: check: Fix test dash_mpdparser_xlink_period Test used http://404/ERROR/XML.period as an invalid url. Curl now interprets that as an 32bit int and tries an actual connect which timesout. Use .invalid as an IANA reserved domain for invalid DNS. curl -v http://404/ERROR/XML.period * Trying 0.0.1.148:80... Part-of: --- tests/check/elements/dash_mpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/check') diff --git a/tests/check/elements/dash_mpd.c b/tests/check/elements/dash_mpd.c index 44b32a4bd..21ce5e0d8 100644 --- a/tests/check/elements/dash_mpd.c +++ b/tests/check/elements/dash_mpd.c @@ -5852,7 +5852,7 @@ GST_START_TEST (dash_mpdparser_xlink_period) /* constructs initial mpd using external xml uri */ /* For invalid URI, mpdparser should be ignore it */ xml_joined = g_strjoin ("", xml_frag_start, - xml_uri_front, "http://404/ERROR/XML.period", xml_uri_rear, + xml_uri_front, "http://404.invalid/ERROR/XML.period", xml_uri_rear, xml_uri_front, (const char *) file_uri_single_period, xml_uri_rear, xml_uri_front, (const char *) file_uri_double_period, xml_uri_rear, xml_frag_end, NULL); -- cgit v1.2.1