Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
c6a83af5
Unverified
Commit
c6a83af5
authored
May 05, 2020
by
Jonah Williams
Committed by
GitHub
May 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[devicelab] add verification print (#56398)
parent
f7ed942a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
flutter_attach_test_android.dart
dev/devicelab/bin/tasks/flutter_attach_test_android.dart
+1
-4
framework.dart
dev/devicelab/lib/framework/framework.dart
+3
-1
No files found.
dev/devicelab/bin/tasks/flutter_attach_test_android.dart
View file @
c6a83af5
...
...
@@ -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
);
...
...
dev/devicelab/lib/framework/framework.dart
View file @
c6a83af5
...
...
@@ -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...'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment