Skip to content

Commit 2c95397

Browse files
Add a few more network-related spurious failures
1 parent 0940e0e commit 2c95397

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)