From 03bb016c830361a7222e0efaff545397de6aab2b Mon Sep 17 00:00:00 2001 From: Sam Rawlins Date: Thu, 9 Jul 2026 10:05:14 -0700 Subject: [PATCH] Increase the timeout when waiting for Chrome to open --- packages/devtools_shared/CHANGELOG.md | 1 + packages/devtools_shared/lib/src/test/chrome_driver.dart | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/devtools_shared/CHANGELOG.md b/packages/devtools_shared/CHANGELOG.md index a3c248315ed..fa67a046fff 100644 --- a/packages/devtools_shared/CHANGELOG.md +++ b/packages/devtools_shared/CHANGELOG.md @@ -27,6 +27,7 @@ found in the LICENSE file or at https://developers.google.com/open-source/licens argument. * Update `LocalFileSystem` and `IOPersistentProperties` to use `package:file` instead of `dart:io` to allow mocking the file system. +* Increase ChromeDriver startup wait timeout to 30 seconds to support slower environments. # 13.0.2 diff --git a/packages/devtools_shared/lib/src/test/chrome_driver.dart b/packages/devtools_shared/lib/src/test/chrome_driver.dart index ab84cba8eb1..0a5cca1d7f6 100644 --- a/packages/devtools_shared/lib/src/test/chrome_driver.dart +++ b/packages/devtools_shared/lib/src/test/chrome_driver.dart @@ -55,7 +55,7 @@ class ChromeDriver with IOMixin { Future _waitForPortOpen( int port, { - Duration timeout = const Duration(seconds: 10), + Duration timeout = const Duration(seconds: 30), }) async { final stopwatch = Stopwatch()..start();