From e759b4cdd905889351a758afab69406df90f9b74 Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Wed, 13 Aug 2025 17:15:51 -0700 Subject: [PATCH 1/3] Retry on failure This works around the fact that the VM does not preserve errno/GetLastError across API calls. --- pkgs/io_file/dart_test.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/io_file/dart_test.yaml b/pkgs/io_file/dart_test.yaml index f11f1a15..1ea49457 100644 --- a/pkgs/io_file/dart_test.yaml +++ b/pkgs/io_file/dart_test.yaml @@ -1,3 +1,10 @@ concurrency: 1 reporter: compact test-randomize-ordering-seed: random +tags: + # TODO(brianquinlan): Remove retries when + # https://github.com/dart-lang/sdk/issues/38832 is fixed. + android || ios || linux || mac-os: + retry: 2 + windows: + retry: 5 From f8e7e6e31a8edc1cc3d384082668f7fe2066d3e3 Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Wed, 13 Aug 2025 17:27:38 -0700 Subject: [PATCH 2/3] Update dart_test.yaml --- pkgs/io_file/dart_test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/io_file/dart_test.yaml b/pkgs/io_file/dart_test.yaml index 1ea49457..0988b016 100644 --- a/pkgs/io_file/dart_test.yaml +++ b/pkgs/io_file/dart_test.yaml @@ -1,10 +1,10 @@ concurrency: 1 reporter: compact test-randomize-ordering-seed: random -tags: +on_platform: # TODO(brianquinlan): Remove retries when # https://github.com/dart-lang/sdk/issues/38832 is fixed. android || ios || linux || mac-os: - retry: 2 + retry: 1 windows: - retry: 5 + retry: 3 From 212a7e37e74ae44addf20aff125ae64848ee50fa Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Wed, 13 Aug 2025 17:37:37 -0700 Subject: [PATCH 3/3] Update dart_test.yaml --- pkgs/io_file/dart_test.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/io_file/dart_test.yaml b/pkgs/io_file/dart_test.yaml index 0988b016..b569ea36 100644 --- a/pkgs/io_file/dart_test.yaml +++ b/pkgs/io_file/dart_test.yaml @@ -1,10 +1,6 @@ concurrency: 1 reporter: compact test-randomize-ordering-seed: random -on_platform: - # TODO(brianquinlan): Remove retries when - # https://github.com/dart-lang/sdk/issues/38832 is fixed. - android || ios || linux || mac-os: - retry: 1 - windows: - retry: 3 +# TODO(brianquinlan): Remove retries when +# https://github.com/dart-lang/sdk/issues/38832 is fixed. +retry: 1