Unverified Commit d02a3fe6 authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Lower the iterations on flutter_gallery__back_button_memory (#40102)

It was hitting the global devicelab 15 minute timeout.
parent 5a3a46ad
...@@ -26,7 +26,7 @@ class BackButtonMemoryTest extends MemoryTest { ...@@ -26,7 +26,7 @@ class BackButtonMemoryTest extends MemoryTest {
Future<void> useMemory() async { Future<void> useMemory() async {
await launchApp(); await launchApp();
await recordStart(); await recordStart();
for (int iteration = 0; iteration < 10; iteration += 1) { for (int iteration = 0; iteration < 8; iteration += 1) {
print('back/forward iteration $iteration'); print('back/forward iteration $iteration');
// Push back button, wait for it to be seen by the Flutter app. // Push back button, wait for it to be seen by the Flutter app.
......
...@@ -322,7 +322,7 @@ class AndroidDevice implements Device { ...@@ -322,7 +322,7 @@ class AndroidDevice implements Device {
process.exitCode.then<void>((int exitCode) { process.exitCode.then<void>((int exitCode) {
print('adb logcat process terminated with exit code $exitCode'); print('adb logcat process terminated with exit code $exitCode');
if (!aborted) { 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(); processDone.complete();
} }
}); });
......
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