From a4a1392c4460d2f0070bb327d613c2bc32c6237c Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Thu, 26 Jan 2017 18:01:34 -0800 Subject: [PATCH] --debug-port is now --observatory-port (#7680) --- dev/devicelab/lib/tasks/perf_tests.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/devicelab/lib/tasks/perf_tests.dart b/dev/devicelab/lib/tasks/perf_tests.dart index fb489370964..4c43074e44a 100644 --- a/dev/devicelab/lib/tasks/perf_tests.dart +++ b/dev/devicelab/lib/tasks/perf_tests.dart @@ -226,7 +226,7 @@ class MemoryTest { await flutter('build', options: ['ios', '--profile']); } - int debugPort = await findAvailablePort(); + int observatoryPort = await findAvailablePort(); List runOptions = [ '-v', @@ -234,8 +234,8 @@ class MemoryTest { '--trace-startup', // wait for the first frame to render '-d', deviceId, - '--debug-port', - debugPort.toString(), + '--observatory-port', + observatoryPort.toString(), ]; if (testTarget != null) runOptions.addAll(['-t', testTarget]); @@ -256,7 +256,7 @@ class MemoryTest { deviceId, '--use-existing-app', ], environment: { - 'VM_SERVICE_URL': 'http://localhost:$debugPort' + 'VM_SERVICE_URL': 'http://localhost:$observatoryPort' }); Map endData = await device.getMemoryStats(packageName);