Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Unified Diff: pkg/analysis_server/test/src/utilities/profiling_test.dart

Issue 2927863002: Skip the ProcessProfiler.getProcessUsage test. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
+// });
});
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698