mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 07:33:33 +08:00
All tests are passing
This commit is contained in:
@@ -173,7 +173,7 @@ TEST(dynamic_node_id_server_NodeDiscoverer, Basic)
|
|||||||
get_node_info_server.response.hardware_version.unique_id[14] = 52;
|
get_node_info_server.response.hardware_version.unique_id[14] = 52;
|
||||||
ASSERT_LE(0, get_node_info_server.start());
|
ASSERT_LE(0, get_node_info_server.start());
|
||||||
|
|
||||||
nodes.spinBoth(uavcan::MonotonicDuration::fromMSec(400));
|
nodes.spinBoth(uavcan::MonotonicDuration::fromMSec(500));
|
||||||
|
|
||||||
ASSERT_EQ(1, tracer.countEvents(TraceDiscoveryNewNodeFound));
|
ASSERT_EQ(1, tracer.countEvents(TraceDiscoveryNewNodeFound));
|
||||||
ASSERT_EQ(1, tracer.countEvents(TraceDiscoveryTimerStart));
|
ASSERT_EQ(1, tracer.countEvents(TraceDiscoveryTimerStart));
|
||||||
|
|||||||
Reference in New Issue
Block a user