Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'utils/fallbackswitch/tests/fallbackswitch.rs')
-rw-r--r--utils/fallbackswitch/tests/fallbackswitch.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/fallbackswitch/tests/fallbackswitch.rs b/utils/fallbackswitch/tests/fallbackswitch.rs
index 8257c73d6..564f7af6e 100644
--- a/utils/fallbackswitch/tests/fallbackswitch.rs
+++ b/utils/fallbackswitch/tests/fallbackswitch.rs
@@ -279,12 +279,13 @@ fn test_long_drop_and_recover(live: bool) {
let buffer = pull_buffer(&pipeline);
assert_fallback_buffer!(buffer, Some(4.seconds()));
- // Produce a sixth frame from the normal source
+ // Produce a sixth frame from the normal source, which
+ // will make it healthy again
push_buffer(&pipeline, 5.seconds());
set_time(&pipeline, 5.seconds() + 10.mseconds());
let buffer = pull_buffer(&pipeline);
assert_buffer!(buffer, Some(5.seconds()));
- assert!(!mainsink.property::<bool>("is-healthy"));
+ assert!(mainsink.property::<bool>("is-healthy"));
drop(mainsink);
drop(switch);