[Bug 757776] dashdemux: Unit test fails reliably

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 9 05:13:30 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=757776

--- Comment #1 from Florin Apostol <florin.apostol at oregan.net> ---
The problems started with commit ccff3be3ab2e5bffcefc12c80a5edb225801f1b9. That
commit replaced the HTTPsrc element that adaptivedemux was using with a bin
element and made the input generation asynchronous. The tests relied on 2
facts:
1) the input is a fakeHTTPsrc element 
2) the input generation and adaptivedemux output processing is done in the same
thread.

To fix the problems we need to:
1) make fakeHTTPsrc thread safe (the configuration functions can now be called
from another thread)
2) update tests to correctly reach the fakeHTTPsrc element in the bin so that
they can configure the generation of a download error
3) update tests to block the input generation on certain events (so that we can
simulate a download error before the asynchronous input generation finishes
pushing all data to the queue)

1 and 2 are easy. 3 might be tricky

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list