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:
@@ -3,7 +3,8 @@
|
||||
{
|
||||
"drone_dimensions": [
|
||||
"device_type=none",
|
||||
"os=Linux"
|
||||
"os=Linux",
|
||||
"cores=32"
|
||||
],
|
||||
"gn": [
|
||||
"--runtime-mode",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user