[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:
Martin Kustermann 2022-12-08 14:08:09 +00:00 committed by Commit Queue
parent a22e0ac5ea
commit cdd0694a92

View file

@ -263,6 +263,9 @@ class DartVmRuntimeConfiguration extends RuntimeConfiguration {
multiplier *= 4;
break;
}
if (_configuration.useQemu) {
multiplier *= 2;
}
if (mode.isDebug) {
multiplier *= 2;