mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 11:40:35 +08:00
All unit tests compile, but crash. This is the most horrifying commit I've ever made.
This commit is contained in:
@@ -104,7 +104,7 @@ TEST(dynamic_node_id_server_NodeDiscoverer, Basic)
|
||||
/*
|
||||
* Initialization
|
||||
*/
|
||||
ASSERT_LE(0, disc.init());
|
||||
ASSERT_LE(0, disc.init(uavcan::TransferPriority::OneHigherThanLowest));
|
||||
|
||||
ASSERT_FALSE(disc.hasUnknownNodes());
|
||||
|
||||
@@ -208,7 +208,7 @@ TEST(dynamic_node_id_server_NodeDiscoverer, RestartAndMaxAttempts)
|
||||
/*
|
||||
* Initialization
|
||||
*/
|
||||
ASSERT_LE(0, disc.init());
|
||||
ASSERT_LE(0, disc.init(uavcan::TransferPriority::OneHigherThanLowest));
|
||||
|
||||
ASSERT_FALSE(disc.hasUnknownNodes());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user