Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yngrtc committed Mar 16, 2024
1 parent 8402c18 commit 01ac2ba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions rtc-sctp/src/endpoint/endpoint_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2248,7 +2248,7 @@ fn test_old_rtx_on_regular_acks() -> Result<()> {

// Send 20 packet at a regular interval that is < RTO
for i in 0..20u32 {
println!("sending packet {}", i);
//println!("sending packet {}", i);
sbuf[0..4].copy_from_slice(&i.to_be_bytes());
let n = pair.client_stream(client_ch, si)?.write_sctp(
&Bytes::from(sbuf.clone()),
Expand Down Expand Up @@ -2281,7 +2281,7 @@ fn test_old_rtx_on_regular_acks() -> Result<()> {
.get(&si)
.unwrap()
.reassembly_queue;
println!("q.is_readable()={}", q.is_readable());
//println!("q.is_readable()={}", q.is_readable());
assert!(q.is_readable(), "should be readable at {}", i);
}

Expand Down
2 changes: 1 addition & 1 deletion rtc-sdp/src/description/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ impl SessionDescription {
/// description as opposed to the session description, the states are marked
/// with an asterisk ("a*", "k*").
///
/// ```ignore
/// ```text
/// +--------+----+-------+----+-----+----+-----+---+----+----+---+---+-----+---+---+----+---+----+
/// | STATES | a* | a*,k* | a | a,k | b | b,c | e | i | m | o | p | r,t | s | t | u | v | z |
/// +--------+----+-------+----+-----+----+-----+---+----+----+---+---+-----+---+---+----+---+----+
Expand Down
2 changes: 1 addition & 1 deletion rtc-turn/src/client/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*#[cfg(test)]
/*TODO:#[cfg(test)]
mod client_test;
*/
pub mod binding;
Expand Down
2 changes: 1 addition & 1 deletion rtc-turn/src/proto/evenport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl fmt::Display for EvenPort {
}

const EVEN_PORT_SIZE: usize = 1;
const FIRST_BIT_SET: u8 = 0b10000000; //FIXME? (1 << 8) - 1;
const FIRST_BIT_SET: u8 = 0b10000000;

impl Setter for EvenPort {
// AddTo adds EVEN-PORT to message.
Expand Down

0 comments on commit 01ac2ba

Please sign in to comment.