mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
add flaky windows error
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
b5385f6b4a
commit
ddcb5d3742
1 changed files with 4 additions and 3 deletions
|
@ -227,9 +227,10 @@ fn run_command<S, I: Copy, P: AsRef<Path> + Copy>(
|
|||
Err(_) => format!("Failed to run \"{}\"", command_str),
|
||||
};
|
||||
|
||||
// flaky test error that only occurs sometimes inside MacOS ci run
|
||||
if error_str.contains("FileNotFound")
|
||||
|| error_str.contains("unable to save cached ZIR code")
|
||||
// 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.cointaints("lld-link: error: failed to write the output file: Permission denied") // only occurs sometimes on windows
|
||||
{
|
||||
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