Skip to content

Commit f72b7eb

Browse files
committed
Use constant timeout, avoid suite config
1 parent 039edd6 commit f72b7eb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎pkgs/test/lib/src/runner/browser/platform.dart‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,9 @@ class BrowserPlatform extends PlatformPlugin
278278
var browserManager = await _browserManagerFor(browser);
279279
if (_closed || browserManager == null) return null;
280280

281-
final timeout =
282-
suiteConfig.metadata.timeout.apply(const Duration(seconds: 30));
283281
var suite = await browserManager.load(
284282
path, suiteUrl, suiteConfig, message, platform.compiler,
285-
mapper: _mappers[path], timeout: timeout);
283+
mapper: _mappers[path], timeout: const Duration(seconds: 30));
286284
if (_closed) return null;
287285
return suite;
288286
}

0 commit comments

Comments
 (0)