Run linux_unopt on a machine with more cores (flutter/engine#43473)

The unit tests can run in parallel so running on a bigger machine gives a good speedup. This shaves ~10 minutes off of linux_unopt time. Some of the DisplayList unit tests go over the 120s limit, so this PR also bumps the default limit to 300s.
This commit is contained in:
Zachary Anderson
2023-07-11 15:56:05 -07:00
committed by GitHub
parent d73e8749ec
commit 8e4206c239
2 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,8 @@
{
"drone_dimensions": [
"device_type=none",
"os=Linux"
"os=Linux",
"cores=32"
],
"gn": [
"--runtime-mode",

View File

@@ -23,8 +23,8 @@ std::optional<fml::TimeDelta> GetTestTimeout() {
std::string timeout_seconds;
if (!command_line.GetOptionValue("timeout", &timeout_seconds)) {
// No timeout specified. Default to 120s.
return fml::TimeDelta::FromSeconds(120u);
// No timeout specified. Default to 300s.
return fml::TimeDelta::FromSeconds(300u);
}
const auto seconds = std::stoi(timeout_seconds);