Skip to content

Commit ef62cdf

Browse files
authored
Attempt to decrease flakyness on windows CI (#4678)
1 parent 66b7e11 commit ef62cdf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,4 +474,4 @@ packages:
474474
source: hosted
475475
version: "2.2.2"
476476
sdks:
477-
dart: ">=3.8.0 <4.0.0"
477+
dart: ">=3.9.0 <4.0.0"

test/check_resolution_up_to_date_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ void main() {
8686
exitCode: 0,
8787
);
8888

89+
// Timestamp resolution is rather poor especially on windows.
90+
await Future<Null>.delayed(const Duration(seconds: 1));
91+
8992
await d.dir(appPath, [
9093
d.libPubspec(
9194
'myapp',
@@ -98,9 +101,6 @@ void main() {
98101
),
99102
]).create();
100103

101-
// Timestamp resolution is rather poor especially on windows.
102-
await Future<Null>.delayed(const Duration(seconds: 1));
103-
104104
await runPub(
105105
args: ['check-resolution-up-to-date'],
106106
environment: {'_PUB_TEST_SDK_VERSION': '3.5.0'},

0 commit comments

Comments
 (0)