unlock device before running perf test (#6540)
This commit is contained in:
parent
18071fd723
commit
80627a5ccd
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user