Unverified Commit 086cfcb1 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Add a delay to the Gallery navigation memory test to give Dart an opportunity to GC (#23250)

See https://github.com/flutter/flutter/issues/23171
parent 7fbb5b9f
......@@ -79,6 +79,7 @@ Future<void> main() async {
debugPrint('Backing out...');
await controller.tap(find.byTooltip('Back'));
await endOfAnimation();
await Future<void>.delayed(const Duration(milliseconds: 50));
}
debugPrint('==== MEMORY BENCHMARK ==== DONE ====');
......
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