Skip to content

Commit a674903

Browse files
committed
Auto merge of #624 - Mark-Simulacrum:opt, r=Mark-Simulacrum
Consider AddrInUse to be a spurious failure Commonly seen in build-and-test crater runs.
2 parents 0940e0e + 2c95397 commit a674903

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/runner/test.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ fn run_cargo<DB: WriteResults>(
105105
if line.contains("urlopen error") && line.contains("Temporary failure in name resolution") {
106106
did_network = true;
107107
}
108+
if line.contains("Address already in use") {
109+
did_network = true;
110+
}
111+
if line.contains("code: 111") && line.contains("Connection refused") {
112+
did_network = true;
113+
}
108114

109115
// Avoid trying to deserialize non JSON output
110116
if !line.starts_with('{') {

0 commit comments

Comments
 (0)