Skip to content

Commit

Permalink
Enable Drop tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowhatter committed Oct 9, 2024
1 parent 4375599 commit 99e8aa7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions io/zenoh-transport/tests/unicast_transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,12 +463,10 @@ async fn test_transport(
"Sending {} messages... {:?} {}",
MSG_COUNT, channel, msg_size
);
// TODO: workaround for https://github.com/eclipse-zenoh/zenoh/issues/1494
//let cctrl = match channel.reliability {
// Reliability::Reliable => CongestionControl::Block,
// Reliability::BestEffort => CongestionControl::Drop,
//};
let cctrl = CongestionControl::Block;
let cctrl = match channel.reliability {
Reliability::Reliable => CongestionControl::Block,
Reliability::BestEffort => CongestionControl::Drop,
};

// Create the message to send
let message: NetworkMessage = Push {
Expand Down

0 comments on commit 99e8aa7

Please sign in to comment.