uriplaylistbin: re-enable all tests

They now seem to work reliably. \o/

Fix #194

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1471>
This commit is contained in:
Guillaume Desmottes 2024-02-26 10:11:21 +01:00
parent f6476f1e8f
commit 7d0397e1ad

View file

@ -252,8 +252,6 @@ fn assert_stream_selected(msg: gst::Message, n_streams: usize) -> gst::Object {
} }
#[test] #[test]
// FIXME: test deadlocks: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/194
#[ignore]
fn single_audio() { fn single_audio() {
let (events, current_iteration, current_uri_index) = test(vec![TestMedia::ogg()], 1, 1, true); let (events, current_iteration, current_uri_index) = test(vec![TestMedia::ogg()], 1, 1, true);
assert_eos(events.into_iter().last().unwrap()); assert_eos(events.into_iter().last().unwrap());
@ -262,8 +260,6 @@ fn single_audio() {
} }
#[test] #[test]
// FIXME: test deadlocks: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/194
#[ignore]
fn single_video() { fn single_video() {
let (events, current_iteration, current_uri_index) = test(vec![TestMedia::mkv()], 2, 1, true); let (events, current_iteration, current_uri_index) = test(vec![TestMedia::mkv()], 2, 1, true);
assert_eos(events.into_iter().last().unwrap()); assert_eos(events.into_iter().last().unwrap());
@ -272,8 +268,6 @@ fn single_video() {
} }
#[test] #[test]
// FIXME: this test hits deadlocks, see https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/184
#[ignore]
fn multi_audio() { fn multi_audio() {
let (events, current_iteration, current_uri_index) = test( let (events, current_iteration, current_uri_index) = test(
vec![TestMedia::ogg(), TestMedia::ogg(), TestMedia::ogg()], vec![TestMedia::ogg(), TestMedia::ogg(), TestMedia::ogg()],
@ -287,8 +281,6 @@ fn multi_audio() {
} }
#[test] #[test]
// FIXME: test deadlocks: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/194
#[ignore]
fn multi_audio_video() { fn multi_audio_video() {
let (events, current_iteration, current_uri_index) = let (events, current_iteration, current_uri_index) =
test(vec![TestMedia::mkv(), TestMedia::mkv()], 2, 1, true); test(vec![TestMedia::mkv(), TestMedia::mkv()], 2, 1, true);
@ -298,8 +290,6 @@ fn multi_audio_video() {
} }
#[test] #[test]
// FIXME: test deadlocks: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/194
#[ignore]
fn iterations() { fn iterations() {
let (events, current_iteration, current_uri_index) = let (events, current_iteration, current_uri_index) =
test(vec![TestMedia::mkv(), TestMedia::mkv()], 2, 2, true); test(vec![TestMedia::mkv(), TestMedia::mkv()], 2, 2, true);
@ -309,8 +299,6 @@ fn iterations() {
} }
#[test] #[test]
// FIXME: test deadlocks: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/194
#[ignore]
fn nb_streams_increasing() { fn nb_streams_increasing() {
let (events, current_iteration, current_uri_index) = let (events, current_iteration, current_uri_index) =
test(vec![TestMedia::ogg(), TestMedia::mkv()], 2, 1, false); test(vec![TestMedia::ogg(), TestMedia::mkv()], 2, 1, false);
@ -336,8 +324,6 @@ fn missing_file() {
} }
#[test] #[test]
// FIXME: test deadlocks: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/194
#[ignore]
fn missing_http() { fn missing_http() {
let (events, current_iteration, current_uri_index) = test( let (events, current_iteration, current_uri_index) = test(
vec![TestMedia::ogg(), TestMedia::missing_http()], vec![TestMedia::ogg(), TestMedia::missing_http()],