Skip to content

Commit f8e2750

Browse files
bors[bot]rtzoeller
andauthored
Merge #1630
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>
2 parents b641788 + ebd4ace commit f8e2750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sys/test_socket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@ pub fn test_txtime() {
20132013

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

2016-
let std_sa = SocketAddr::from_str("127.0.0.1:6790").unwrap();
2016+
let std_sa = SocketAddr::from_str("127.0.0.1:6802").unwrap();
20172017
let inet_addr = InetAddr::from_std(&std_sa);
20182018
let sock_addr = SockAddr::new_inet(inet_addr);
20192019

0 commit comments

Comments
 (0)