DescriptionFix dart apptest flake on android.
There's a good discussion of this issue in dart-lang/test#333. In short,
tearDownAll is guaranteed to be called after all tests run. However,
apptest.dart explicitly calls close() in tearDownAll, which closes the shell.
This close races against the test framework getting around to outputting
"All tests pass!". So this patch works around it by instead looking for the
message about tearDownAll running with no previously failed tests.
BUG=Fixes #394
R=johnmccutchan@google.com, zra@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/66269650afe77c016cd33903e5d02ea05d879660
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|