From c6243c7d0085ee3a40f58dfb9d72a1fede6dda21 Mon Sep 17 00:00:00 2001 From: Florin Apostol Date: Mon, 9 Nov 2015 18:07:30 +0000 Subject: [PATCH] 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 --- tests/check/elements/dash_demux.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/check/elements/dash_demux.c b/tests/check/elements/dash_demux.c index 13211c2287..55f5c8cdad 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);