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 4151af7fe4c4e88a34f5718f39e4e90345d2786d..4906c4bc7b7acfec8caac0d48c59d53baaa14012 100644 |
--- a/pkg/analysis_server/test/src/utilities/profiling_test.dart |
+++ b/pkg/analysis_server/test/src/utilities/profiling_test.dart |
@@ -18,14 +18,13 @@ main() { |
expect(ProcessProfiler.getProfilerForPlatform(), isNotNull); |
}); |
- // 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)); |
-// }); |
+ 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)); |
+ }); |
}); |
} |