mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
windows flake is different than on macos
This commit is contained in:
parent
b1fff17730
commit
fda3b44315
2 changed files with 6 additions and 7 deletions
|
@ -227,10 +227,9 @@ fn run_command<S, I: Copy, P: AsRef<Path> + Copy>(
|
|||
Err(_) => format!("Failed to run \"{}\"", command_str),
|
||||
};
|
||||
|
||||
// flaky test errors
|
||||
if error_str.contains("FileNotFound") // only occurs sometimes inside MacOS ci run
|
||||
|| error_str.contains("unable to save cached ZIR code") // only occurs sometimes inside MacOS ci run
|
||||
|| error_str.contains("lld-link: error: failed to write the output file: Permission denied") // only occurs sometimes on windows
|
||||
// Flaky test errors that only occur sometimes on MacOS ci server.
|
||||
if error_str.contains("FileNotFound")
|
||||
|| error_str.contains("unable to save cached ZIR code")
|
||||
{
|
||||
if flaky_fail_counter == 10 {
|
||||
panic!("{} failed 10 times in a row. The following error is unlikely to be a flaky error: {}", command_str, error_str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue