Unverified Commit de84c1e1 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[flutter_tools] attempt to fix benchmark mode test (#54414)

parent a5765331
......@@ -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);
......
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