[flutter_tools] reduce doctor timeout to debug 111686 (#111687)

This commit is contained in:
Christopher Fujino
2022-09-15 13:59:17 -07:00
committed by GitHub
parent af8271b678
commit 6bb2018af7
2 changed files with 4 additions and 2 deletions

View File

@@ -354,7 +354,7 @@ void main() {
FakeAsync().run<void>((FakeAsync time) {
final Doctor doctor = FakeAsyncStuckDoctor(logger);
doctor.diagnose(verbose: false);
time.elapse(Doctor.doctorDuration + const Duration(seconds: 1));
time.elapse(const Duration(minutes: 5));
time.flushMicrotasks();
});