From 36815fe3f35dc6439e7e0be663e06e7eea7b02a6 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Mon, 9 Jan 2023 10:06:10 +0000 Subject: [PATCH] videoio(test): skip unstable Media.audio test --- modules/videoio/test/test_audio.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/videoio/test/test_audio.cpp b/modules/videoio/test/test_audio.cpp index 4cf0dc350b..961d8d809f 100644 --- a/modules/videoio/test/test_audio.cpp +++ b/modules/videoio/test/test_audio.cpp @@ -264,6 +264,8 @@ TEST_P(Media, audio) { if (!videoio_registry::hasBackend(cv::VideoCaptureAPIs(backend))) throw SkipTestException(cv::videoio_registry::getBackendName(backend) + " backend was not found"); + if (cvtest::skipUnstableTests && backend == CAP_GSTREAMER) + throw SkipTestException("Unstable GStreamer test"); doTest(); }