Lower the iterations on flutter_gallery__back_button_memory (#40102)

It was hitting the global devicelab 15 minute timeout.
This commit is contained in:
Todd Volkert 2019-09-09 13:13:05 -07:00 committed by GitHub
parent 5a3a46ada2
commit d02a3fe661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class BackButtonMemoryTest extends MemoryTest {
Future<void> useMemory() async {
await launchApp();
await recordStart();
for (int iteration = 0; iteration < 10; iteration += 1) {
for (int iteration = 0; iteration < 8; iteration += 1) {
print('back/forward iteration $iteration');
// Push back button, wait for it to be seen by the Flutter app.

View File

@ -322,7 +322,7 @@ class AndroidDevice implements Device {
process.exitCode.then<void>((int exitCode) {
print('adb logcat process terminated with exit code $exitCode');
if (!aborted) {
stream.addError(BuildFailedError('adb logcat failed with exit code $exitCode.'));
stream.addError(BuildFailedError('adb logcat failed with exit code $exitCode.\n'));
processDone.complete();
}
});