Unverified Commit 951b85a1 authored by Mehmet Fidanboylu's avatar Mehmet Fidanboylu Committed by GitHub

Increase coverage collection timeout to 2 minutes. Leafy is hitting the limits...

Increase coverage collection timeout to 2 minutes. Leafy is hitting the limits of the previous timeout of 30 seconds for tests that touch a lot of code in the app. (#13527)
parent 9ac5963d
...@@ -55,9 +55,9 @@ class CoverageCollector extends TestWatcher { ...@@ -55,9 +55,9 @@ class CoverageCollector extends TestWatcher {
final Map<String, dynamic> data = await coverage final Map<String, dynamic> data = await coverage
.collect(observatoryUri, false, false) .collect(observatoryUri, false, false)
.timeout( .timeout(
const Duration(seconds: 30), const Duration(minutes: 2),
onTimeout: () { onTimeout: () {
throw new Exception('Failed to collect coverage, it took more than thirty seconds.'); throw new Exception('Timed out while collecting coverage.');
}, },
); );
printTrace(() { printTrace(() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment