Fixed timings for tests in order to reduce probability of test failure on a non-realtime system

This commit is contained in:
Pavel Kirienko
2014-03-28 02:04:22 +04:00
parent 86269c32ff
commit c769626eef
9 changed files with 32 additions and 32 deletions
@@ -25,7 +25,7 @@ TEST(PanicBroadcaster, Basic)
ASSERT_STREQ("I lost ", panicker.getReason().c_str());
ASSERT_TRUE(panicker.isPanicking());
nodes.spinBoth(uavcan::MonotonicDuration::fromMSec(2));
nodes.spinBoth(uavcan::MonotonicDuration::fromMSec(10));
ASSERT_TRUE(sub.collector.msg.get());
ASSERT_STREQ("I lost ", sub.collector.msg->reason_text.c_str());
sub.collector.msg.reset();