Unlock the device before running a StartupTest benchmark (#112243)

This commit is contained in:
Jason Simmons 2022-09-23 07:38:09 -07:00 committed by GitHub
parent 4aa27d844e
commit b31f41bd1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -655,6 +655,7 @@ class StartupTest {
Future<TaskResult> run() async {
return inDirectory<TaskResult>(testDirectory, () async {
final Device device = await devices.workingDevice;
await device.unlock();
const int iterations = 5;
final List<Map<String, dynamic>> results = <Map<String, dynamic>>[];