Lower the iterations on flutter_gallery__back_button_memory (#40102)
It was hitting the global devicelab 15 minute timeout.
This commit is contained in:
parent
5a3a46ada2
commit
d02a3fe661
@ -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 {
|
|||||||
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();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user