Commit 80627a5c authored by Yegor's avatar Yegor Committed by GitHub

unlock device before running perf test (#6540)

parent 18071fd7
...@@ -90,7 +90,9 @@ class PerfTest { ...@@ -90,7 +90,9 @@ class PerfTest {
Future<TaskResult> call() { Future<TaskResult> call() {
return inDirectory(testDirectory, () async { return inDirectory(testDirectory, () async {
String deviceId = (await devices.workingDevice).deviceId; Device device = await devices.workingDevice;
await device.unlock();
String deviceId = device.deviceId;
await flutter('packages', options: <String>['get']); await flutter('packages', options: <String>['get']);
if (os == DeviceOperatingSystem.ios) { if (os == DeviceOperatingSystem.ios) {
......
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