diff --git a/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp b/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp index 850b0e2e6c..b9985e1377 100644 --- a/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp +++ b/modules/gapi/test/cpu/gapi_ocv_stateful_kernel_tests.cpp @@ -454,6 +454,13 @@ namespace TEST(StatefulKernel, StateIsInitViaCompArgsInStreaming) { + // This test is long as it runs BG subtractor (a) twice + // (in G-API + for reference) over (b) two files. In fact + // it is one more BG Subtractor accuracy test, but not + // a stateful initialization test -- the latter must be + // done through a light-weight mock object. So for now: + applyTestTag(CV_TEST_TAG_VERYLONG); + // G-API graph declaration cv::GMat in; cv::GMat out = GBackSub::on(in); diff --git a/modules/gapi/test/streaming/gapi_streaming_tests.cpp b/modules/gapi/test/streaming/gapi_streaming_tests.cpp index bdb0ae9cd9..e50e11d5c8 100644 --- a/modules/gapi/test/streaming/gapi_streaming_tests.cpp +++ b/modules/gapi/test/streaming/gapi_streaming_tests.cpp @@ -716,14 +716,16 @@ TEST_P(GAPI_Streaming, SmokeTest_AutoMeta_VideoScalar) EXPECT_EQ(165u, test_frames); } +// Instantiate tests with different backends, but default queue capacity INSTANTIATE_TEST_CASE_P(TestStreaming, GAPI_Streaming, - Combine(Values( KernelPackage::OCV - //, KernelPackage::OCL // FIXME: Fails bit-exactness check, maybe relax it? - , KernelPackage::OCV_FLUID - //, KernelPackage::OCL // FIXME: Fails bit-exactness check, maybe relax it? - ), - Values(cv::optional{}, 1u, 4u)) - ); + Combine(Values( KernelPackage::OCV + , KernelPackage::OCV_FLUID), + Values(cv::optional{}))); + +// Instantiate tests with the same backend but various queue capacity +INSTANTIATE_TEST_CASE_P(TestStreaming_QC, GAPI_Streaming, + Combine(Values(KernelPackage::OCV_FLUID), + Values(1u, 4u))); namespace TypesTest { diff --git a/modules/gapi/test/streaming/gapi_streaming_utils_test.cpp b/modules/gapi/test/streaming/gapi_streaming_utils_test.cpp index 5599b8826f..764e2c3a51 100644 --- a/modules/gapi/test/streaming/gapi_streaming_utils_test.cpp +++ b/modules/gapi/test/streaming/gapi_streaming_utils_test.cpp @@ -245,6 +245,7 @@ TEST(OneVPL_ElasticBarrier, single_thread_visit) TEST(OneVPL_ElasticBarrier, multi_thread_visit) { + applyTestTag(CV_TEST_TAG_VERYLONG); TestBarrier tested_barrier; static const size_t max_visit_count = 10000000;