summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDoug Nazar <nazard@nazar.ca>2021-04-13 05:54:37 -0400
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-04-13 10:17:47 +0000
commita930b62afc7125e3186ade07bacf112a7588c053 (patch)
tree931f2e1482ea05bb4c60780f0dc492d0f5c584e4 /tests
parent9bcb18ebce9854aaf82ee40ae7d0af5748c65b40 (diff)
downloadgstreamer-plugins-bad-a930b62afc7125e3186ade07bacf112a7588c053.tar.gz
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/dash_mpd.c2
1 files changed, 1 insertions, 1 deletions
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);