Skip to content

Commit

Permalink
Merge #1630
Browse files Browse the repository at this point in the history
1630: Change port used by test_txtime to avoid conflict r=asomers a=rtzoeller

The socket tests request specific ports, and `test_timestamping` and `test_txtime` are currently conflicting in the port they request.

This leads to the second of the tests failing with `EADDRINUSE` when run locally.

Co-authored-by: Ryan Zoeller <rtzoeller@rtzoeller.com>
  • Loading branch information
bors[bot] and rtzoeller authored Jan 11, 2022
2 parents b641788 + ebd4ace commit f8e2750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sys/test_socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2013,7 +2013,7 @@ pub fn test_txtime() {

require_kernel_version!(test_txtime, ">= 5.8");

let std_sa = SocketAddr::from_str("127.0.0.1:6790").unwrap();
let std_sa = SocketAddr::from_str("127.0.0.1:6802").unwrap();
let inet_addr = InetAddr::from_std(&std_sa);
let sock_addr = SockAddr::new_inet(inet_addr);

Expand Down

0 comments on commit f8e2750

Please sign in to comment.