Skip to content

Commit 2b0a889

Browse files
committed
Remember to suppress BestAvailable for humble
Signed-off-by: Michael X. Grey <[email protected]>
1 parent de1fb51 commit 2b0a889

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rclrs/src/subscription.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ mod tests {
692692
expected_qos.reliability = match &*qos_reliability_str {
693693
"reliable" => QoSReliabilityPolicy::Reliable,
694694
"best_effort" => QoSReliabilityPolicy::BestEffort,
695+
#[cfg(not(ros_distro = "humble"))]
695696
"best_available" => QoSReliabilityPolicy::BestAvailable,
696697
x => panic!("unknown reliability string: {x}"),
697698
};

0 commit comments

Comments
 (0)