mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
[gardening] Make qemu configurations get 2x the time
Running tests under qemu simulator are slow. To prevent tests from flakily going over the timeout limit, we give them 2x the time. Change-Id: I41f771d5b958d11d073fd9808663b0b9f298ad9e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/274384 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
parent
a22e0ac5ea
commit
cdd0694a92
|
@ -263,6 +263,9 @@ class DartVmRuntimeConfiguration extends RuntimeConfiguration {
|
|||
multiplier *= 4;
|
||||
break;
|
||||
}
|
||||
if (_configuration.useQemu) {
|
||||
multiplier *= 2;
|
||||
}
|
||||
|
||||
if (mode.isDebug) {
|
||||
multiplier *= 2;
|
||||
|
|
Loading…
Reference in a new issue