summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFlorin Apostol <florin.apostol@oregan.net>2015-11-09 18:07:30 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2015-11-24 16:37:23 +0000
commitc6243c7d0085ee3a40f58dfb9d72a1fede6dda21 (patch)
tree25c426ca778535c54bc70937fded835fe1f3599c /tests
parent665eb6fccae793bd1ed5437b28e0eb8c0aec15aa (diff)
downloadgstreamer-plugins-bad-c6243c7d0085ee3a40f58dfb9d72a1fede6dda21.tar.gz
adaptivedemux: tests: disabled testFragmentDownloadError test
Until we will have support to control the generating thread from fakeHTTPsrc element, the test testFragmentDownloadError is disabled. https://bugzilla.gnome.org/show_bug.cgi?id=757776
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/dash_demux.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/check/elements/dash_demux.c b/tests/check/elements/dash_demux.c
index 13211c228..55f5c8cda 100644
--- a/tests/check/elements/dash_demux.c
+++ b/tests/check/elements/dash_demux.c
@@ -1291,6 +1291,14 @@ GST_START_TEST (testDownloadError)
GST_END_TEST;
+/* testFragmentDownloadError is disabled until we redesign the test framework
+ * to allow better control on when fakeHTTPsrc element will create data.
+ * Currently that is being done asynchronously and there is no easy way
+ * to synchronise data generation with the data processing (the test) so that
+ * we can guarantee that error generation is done during data generation and
+ * not afterwards.
+ */
+#if 0
/* generate error message on adaptive demux pipeline */
static gboolean
testFragmentDownloadErrorCheckDataReceived (GstDashDemuxTestData * testData,
@@ -1402,6 +1410,8 @@ GST_START_TEST (testFragmentDownloadError)
GST_END_TEST;
+#endif
+
/* generate queries to adaptive demux */
static gboolean
testQueryCheckDataReceived (GstDashDemuxTestData * testData,
@@ -1526,7 +1536,7 @@ dash_demux_suite (void)
tcase_add_test (tc_basicTest, testParameters);
tcase_add_test (tc_basicTest, testSeek);
tcase_add_test (tc_basicTest, testDownloadError);
- tcase_add_test (tc_basicTest, testFragmentDownloadError);
+ //tcase_add_test (tc_basicTest, testFragmentDownloadError);
tcase_add_test (tc_basicTest, testQuery);
tcase_add_unchecked_fixture (tc_basicTest, test_setup, test_teardown);