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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2157>
This commit is contained in:
Doug Nazar 2021-04-13 05:54:37 -04:00 committed by GStreamer Marge Bot
parent 9bcb18ebce
commit a930b62afc

View file

@ -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);