Unverified Commit c6a83af5 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[devicelab] add verification print (#56398)

parent f7ed942a
...@@ -56,10 +56,6 @@ Future<void> testReload(Process process, { Future<void> Function() onListening } ...@@ -56,10 +56,6 @@ Future<void> testReload(Process process, { Future<void> Function() onListening }
return Future.any<dynamic>(<Future<dynamic>>[ return Future.any<dynamic>(<Future<dynamic>>[
event, event,
process.exitCode, process.exitCode,
// Keep the test from running for 15 minutes if it gets stuck.
Future<void>.delayed(const Duration(minutes: 1)).then<void>((void _) {
throw StateError('eventOrExit timed out');
}),
]); ]);
} }
...@@ -178,6 +174,7 @@ void main() { ...@@ -178,6 +174,7 @@ void main() {
} finally { } finally {
section('Uninstalling'); section('Uninstalling');
await device.adb(<String>['uninstall', kAppId]); await device.adb(<String>['uninstall', kAppId]);
print('uninstall complete');
} }
}); });
return TaskResult.success(null); return TaskResult.success(null);
......
...@@ -125,8 +125,10 @@ class _TaskRunner { ...@@ -125,8 +125,10 @@ class _TaskRunner {
_completer.complete(result); _completer.complete(result);
return result; return result;
} on TimeoutException catch (_) { } on TimeoutException catch (err, stackTrace) {
print('Task timed out in framework.dart after $taskTimeout.'); print('Task timed out in framework.dart after $taskTimeout.');
print(err);
print(stackTrace);
return TaskResult.failure('Task timed out after $taskTimeout'); return TaskResult.failure('Task timed out after $taskTimeout');
} finally { } finally {
print('Cleaning up after task...'); print('Cleaning up after task...');
......
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