Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
Anton-4 2022-10-29 16:31:36 +02:00 committed by GitHub
parent ddcb5d3742
commit 4ce978a7c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,7 +230,7 @@ fn run_command<S, I: Copy, P: AsRef<Path> + Copy>(
// 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
|| error_str.containts("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);