Skip to content

Commit

Permalink
Change port in tcp test.
Browse files Browse the repository at this point in the history
  • Loading branch information
zduny committed Sep 19, 2023
1 parent c1bb32a commit 99e44fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mezzenger-tcp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ mod tests {

#[tokio::test]
async fn test_size_limit() {
let left = TcpListener::bind("127.0.0.1:8084").await.unwrap();
let right = TcpStream::connect("127.0.0.1:8084").await.unwrap();
let left = TcpListener::bind("127.0.0.1:8086").await.unwrap();
let right = TcpStream::connect("127.0.0.1:8086").await.unwrap();

let (left, _) = left.accept().await.unwrap();

Expand Down

0 comments on commit 99e44fc

Please sign in to comment.