togglerecord: Change test_two_stream_close_open_nonlivein_liveout timeout to 60ms

20ms was not enough for the CI.

Closes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/379

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1258>
This commit is contained in:
Vivia Nikolaidou 2023-06-23 16:05:26 +03:00 committed by GStreamer Marge Bot
parent effe1bacdf
commit 8366716456

View file

@ -1020,7 +1020,7 @@ fn test_two_stream_close_open_nonlivein_liveout() {
.send(SendData::Buffers(main_buffers_in_gap as usize))
.unwrap();
assert_eq!(
receiver_input_done_1.recv_timeout(Duration::from_millis(20)),
receiver_input_done_1.recv_timeout(Duration::from_millis(60)),
Err(mpsc::RecvTimeoutError::Timeout)
);
@ -1029,7 +1029,7 @@ fn test_two_stream_close_open_nonlivein_liveout() {
.send(SendData::Buffers((secondary_buffers_in_gap) as usize))
.unwrap();
assert_eq!(
receiver_input_done_2.recv_timeout(Duration::from_millis(20)),
receiver_input_done_2.recv_timeout(Duration::from_millis(60)),
Err(mpsc::RecvTimeoutError::Timeout)
);