diff --git a/dev/devicelab/lib/tasks/perf_tests.dart b/dev/devicelab/lib/tasks/perf_tests.dart index d7fa5d45786..ef4280213e1 100644 --- a/dev/devicelab/lib/tasks/perf_tests.dart +++ b/dev/devicelab/lib/tasks/perf_tests.dart @@ -1794,9 +1794,9 @@ class _UnzipListEntry { final String path; } -/// Wait for up to 400 seconds for the file to appear. +/// Wait for up to 1 hour for the file to appear. Future waitForFile(String path) async { - for (int i = 0; i < 20; i += 1) { + for (int i = 0; i < 180; i += 1) { final File file = File(path); print('looking for ${file.path}'); if (file.existsSync()) { @@ -1804,7 +1804,7 @@ Future waitForFile(String path) async { } await Future.delayed(const Duration(seconds: 20)); } - throw StateError('Did not find vmservice out file after 400 seconds'); + throw StateError('Did not find vmservice out file after 1 hour'); } String? _findIosAppInBuildDirectory(String searchDirectory) {