Skip to content

Commit 7be261a

Browse files
authored
Wait longer for the vmservice out file to appear (#103513)
An hour is likely longer than the CI timeout. Fixes flutter/flutter#103504
1 parent 886b804 commit 7be261a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/devicelab/lib/tasks/perf_tests.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,17 +1794,17 @@ class _UnzipListEntry {
17941794
final String path;
17951795
}
17961796

1797-
/// Wait for up to 400 seconds for the file to appear.
1797+
/// Wait for up to 1 hour for the file to appear.
17981798
Future<File> waitForFile(String path) async {
1799-
for (int i = 0; i < 20; i += 1) {
1799+
for (int i = 0; i < 180; i += 1) {
18001800
final File file = File(path);
18011801
print('looking for ${file.path}');
18021802
if (file.existsSync()) {
18031803
return file;
18041804
}
18051805
await Future<void>.delayed(const Duration(seconds: 20));
18061806
}
1807-
throw StateError('Did not find vmservice out file after 400 seconds');
1807+
throw StateError('Did not find vmservice out file after 1 hour');
18081808
}
18091809

18101810
String? _findIosAppInBuildDirectory(String searchDirectory) {

0 commit comments

Comments
 (0)