Skip to content

Commit 1d792a6

Browse files
committed
Auto merge of #29256 - alexcrichton:less-flaky, r=brson
The new bots we have may conflict with one another on base ports, causing tests to fail. For example the linux-musl-64-opt and linux-64-opt bots are using the same base port right now, causing some spurious failures every now and then.
2 parents 0be1bcd + 2098ff4 commit 1d792a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libstd/net/test.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ pub fn tsa<A: ToSocketAddrs>(a: A) -> Result<Vec<SocketAddr>, String> {
4747
// it is running in and assigns a port range based on it.
4848
fn base_port() -> u16 {
4949
let cwd = env::current_dir().unwrap();
50-
let dirs = ["32-opt", "32-nopt", "64-opt", "64-nopt", "64-opt-vg",
50+
let dirs = ["32-opt", "32-nopt",
51+
"musl-64-opt", "cross-opt",
52+
"64-opt", "64-nopt", "64-opt-vg", "64-debug-opt",
5153
"all-opt", "snap3", "dist"];
5254
dirs.iter().enumerate().find(|&(_, dir)| {
5355
cwd.to_str().unwrap().contains(dir)

0 commit comments

Comments
 (0)