forked from firka/flutter
Refactor 'flutter drive' to get the observatory port from the logs (#7695)
This remove a very brittle aspect of flutter drive, whereby it would assume a known port instead of explicitly finding out what it was. Fixes #7692 and hopefully fixes the devicelab tests.
This commit is contained in:
@@ -254,10 +254,8 @@ class MemoryTest {
|
||||
testTarget,
|
||||
'-d',
|
||||
deviceId,
|
||||
'--use-existing-app',
|
||||
], environment: <String, String> {
|
||||
'VM_SERVICE_URL': 'http://localhost:$observatoryPort'
|
||||
});
|
||||
'--use-existing-app=http://localhost:$observatoryPort',
|
||||
]);
|
||||
|
||||
Map<String, dynamic> endData = await device.getMemoryStats(packageName);
|
||||
data['end_total_kb'] = endData['total_kb'];
|
||||
|
||||
Reference in New Issue
Block a user