| Index: pkg/analysis_server/test/src/utilities/profiling_test.dart
|
| diff --git a/pkg/analysis_server/test/src/utilities/profiling_test.dart b/pkg/analysis_server/test/src/utilities/profiling_test.dart
|
| index 4906c4bc7b7acfec8caac0d48c59d53baaa14012..4151af7fe4c4e88a34f5718f39e4e90345d2786d 100644
|
| --- a/pkg/analysis_server/test/src/utilities/profiling_test.dart
|
| +++ b/pkg/analysis_server/test/src/utilities/profiling_test.dart
|
| @@ -18,13 +18,14 @@ main() {
|
| expect(ProcessProfiler.getProfilerForPlatform(), isNotNull);
|
| });
|
|
|
| - test('getProcessUsage', () async {
|
| - ProcessProfiler profiler = ProcessProfiler.getProfilerForPlatform();
|
| - UsageInfo info = await profiler.getProcessUsage(pid);
|
| -
|
| - expect(info, isNotNull);
|
| - expect(info.cpuPercentage, greaterThanOrEqualTo(0.0));
|
| - expect(info.memoryKB, greaterThanOrEqualTo(0));
|
| - });
|
| + // TODO: https://github.com/dart-lang/sdk/issues/29815
|
| +// test('getProcessUsage', () async {
|
| +// ProcessProfiler profiler = ProcessProfiler.getProfilerForPlatform();
|
| +// UsageInfo info = await profiler.getProcessUsage(pid);
|
| +//
|
| +// expect(info, isNotNull);
|
| +// expect(info.cpuPercentage, greaterThanOrEqualTo(0.0));
|
| +// expect(info.memoryKB, greaterThanOrEqualTo(0));
|
| +// });
|
| });
|
| }
|
|
|