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 }
return Future.any<dynamic>(<Future<dynamic>>[
event,
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() {
} finally {
section('Uninstalling');
await device.adb(<String>['uninstall', kAppId]);
print('uninstall complete');
}
});
return TaskResult.success(null);
......
......@@ -125,8 +125,10 @@ class _TaskRunner {
_completer.complete(result);
return result;
} on TimeoutException catch (_) {
} on TimeoutException catch (err, stackTrace) {
print('Task timed out in framework.dart after $taskTimeout.');
print(err);
print(stackTrace);
return TaskResult.failure('Task timed out after $taskTimeout');
} finally {
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