[flutter_tools] attempt to fix benchmark mode test (#54414)
This commit is contained in:
@@ -299,6 +299,9 @@ class HotRunner extends ResidentRunner {
|
||||
// Measure time to perform a hot restart.
|
||||
globals.printStatus('Benchmarking hot restart');
|
||||
await restart(fullRestart: true, benchmarkMode: true);
|
||||
// Wait for notifications to finish. attempt to work around
|
||||
// timing issue caused by sentinel.
|
||||
await Future<void>.delayed(const Duration(seconds: 1));
|
||||
globals.printStatus('Benchmarking hot reload');
|
||||
// Measure time to perform a hot reload.
|
||||
await restart(fullRestart: false);
|
||||
|
||||
Reference in New Issue
Block a user