mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Web test shards take a significant time to run in CI compared to their VM counterparts. One theory is that launching and shutting down Chrome repeatedly is a major part of the slowness. This PR makes `flutter test --platform=chrome` reuse the same Chrome instance for all test files instead of launching a new one for each test file. At first glance, it may seem like we aren't shutting down Chrome anymore, but we actually do in `closeEphemeral` and `close` methods. Thanks @eyebrowsoffire for the idea!