Commit 99824784 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

unittest: Disable racy test

When run on a slow/busy machine, the notification might happen in 2 or
more batches. It works most of the time, but it's causing the build to
fail intermittently.
parent 9ac9202b
Pipeline #7021 failed with stage
in 18 minutes and 40 seconds
......@@ -88,6 +88,7 @@ TEST_F( RemovalNotifierTests, DeleteOne )
ASSERT_EQ( 1u, res );
}
#ifdef FIX_TEST_ON_SLOW_CI
TEST_F( RemovalNotifierTests, DeleteBatch )
{
std::shared_ptr<Media> media[5];
......@@ -101,3 +102,4 @@ TEST_F( RemovalNotifierTests, DeleteBatch )
auto res = cbMock->waitForNotif( std::move( lock ), std::chrono::seconds{ 1 } );
ASSERT_EQ( 5u, res );
}
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment