Skip to content

Commit

Permalink
Update test_multicast_server()
Browse files Browse the repository at this point in the history
  • Loading branch information
cybergarage committed Aug 6, 2024
1 parent 4c72284 commit ed8d548
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/transport/multicast_server_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ mod tests {
// NOTE: GitHub Action is slow and may drop to send UDP packets.
// assert_eq!(*counter.unwrap(), TEST_OBSERVER_COUNT);
if counter.is_ok() {
assert!(0 < *counter.unwrap());
let recv_cnt = *counter.unwrap();
assert!(0 < recv_cnt);
}

assert!(server.stop());
Expand Down

0 comments on commit ed8d548

Please sign in to comment.