From 1ff4f72ebcd9a3a48ef93a2b1f57031d36c8fbb2 Mon Sep 17 00:00:00 2001 From: Ryan Macnak Date: Fri, 26 Apr 2024 23:46:17 +0000 Subject: [PATCH] Mark file system event tests as slow. Restore timeout for windows-arm64, which did not get faster. Change-Id: I9f032c25fc69454929348f0589d35200a4728142 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/364625 Commit-Queue: Ryan Macnak Reviewed-by: Siva Annamalai --- pkg/test_runner/lib/src/runtime_configuration.dart | 5 +++-- tests/co19/co19-runtime.status | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pkg/test_runner/lib/src/runtime_configuration.dart b/pkg/test_runner/lib/src/runtime_configuration.dart index e9c59b869ac5..e49416bf8588 100644 --- a/pkg/test_runner/lib/src/runtime_configuration.dart +++ b/pkg/test_runner/lib/src/runtime_configuration.dart @@ -356,8 +356,9 @@ class DartVmRuntimeConfiguration extends RuntimeConfiguration { if (arch == Architecture.ia32) { multiplier *= 2; } - if (arch == Architecture.x64 && system == System.mac) { - multiplier *= 2; // Older, slower machines. + if ((arch == Architecture.x64 && system == System.mac) || + (arch == Architecture.arm64 && system == System.win)) { + multiplier *= 2; // Slower machines. } if (mode.isDebug) { diff --git a/tests/co19/co19-runtime.status b/tests/co19/co19-runtime.status index cf9e2ac6f537..8a5e66de063b 100644 --- a/tests/co19/co19-runtime.status +++ b/tests/co19/co19-runtime.status @@ -2,8 +2,10 @@ # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. +LibTest/io/FileSystemModifyEvent/*: Pass, Slow +LibTest/io/FileSystemMoveEvent/*: Pass, Slow + [ $system == windows ] -LibTest/io/FileSystemModifyEvent/contentChanged_A01_t01: Pass, Slow LibTest/io/ProcessResult/exitCode_A01_t02: Skip # Issue 32138 LibTest/io/Stdin/readByteSync_A01_t01: Skip # Issue 32138 LibTest/io/Stdin/readByteSync_A01_t02: Skip # Issue 32138