Open elfenpiff opened 2 years ago
@elfenpiff before we start to make the tests a TimingTests
and hide bugs like it already happened at least once, we should check it these tests could be refactored without making them a TimingTest
@elBoberido this is a good idea. I add this to the issue!
Brief feature description
The CI on some targets, especially Windows & FreeBSD, is more sensitive in timing tests which lead to failing CI builds.
Some of the tests can be rewritten in a way that no timing test is needed. Here condition variables, semaphores or a short busy loop with an
std::atomic
can be helpful. To avoid deadlocks we should use the Watchdog in the iceoryx hoofs testutils.As a last resort the tests can use our gtest
TimingTest
extensions which repeats the test multiple times to reduce CI failure likelihood caused by heavy load..