Functional gtests: remove unnecessary subscription updates

A new subscription is updated on instanciation and no additional
update needs to be called for processing the first sample.
This commit is contained in:
Matthias Grob
2023-07-13 12:00:35 +02:00
parent f000238987
commit 618724b409
2 changed files with 0 additions and 11 deletions
@@ -198,7 +198,6 @@ TEST_F(ObstacleAvoidanceTest, oa_desired)
// WHEN: we subscribe to the uORB message out of the interface
uORB::SubscriptionData<vehicle_trajectory_waypoint_s> _sub_traj_wp_avoidance_desired{ORB_ID(vehicle_trajectory_waypoint_desired)};
_sub_traj_wp_avoidance_desired.update();
// THEN: we expect the setpoints in POINT_0 and waypoints in POINT_1 and POINT_2
EXPECT_FLOAT_EQ(pos_sp(0),