mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
flaky error retry
Closes #7380 Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
edd7c650b9
commit
bd5034e89d
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ fn run_command(mut command: Command, flaky_fail_counter: usize) {
|
|||
if error_str.contains("FileNotFound")
|
||||
|| error_str.contains("unable to save cached ZIR code")
|
||||
|| error_str.contains("LLVM failed to emit asm")
|
||||
|| error_str.contains("ir-wasm32 transitive failure")
|
||||
{
|
||||
if flaky_fail_counter == 10 {
|
||||
internal_error!("{} 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