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

Unified Diff: runtime/observatory/tests/service/graph_test.dart

Issue 1811713002: Perform a full GC by default when requesting a heap snapshot. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
Index: runtime/observatory/tests/service/graph_test.dart
diff --git a/runtime/observatory/tests/service/graph_test.dart b/runtime/observatory/tests/service/graph_test.dart
index fe31d16eb1799d3742de2cef2bf670c3d96312a9..424747b4453a91d80f93e271dee46c65989514e5 100644
--- a/runtime/observatory/tests/service/graph_test.dart
+++ b/runtime/observatory/tests/service/graph_test.dart
@@ -42,7 +42,7 @@ var tests = [
Class fooClass = lib.classes.first;
fooId = fooClass.vmCid;
- HeapSnapshot snapshot = await isolate.fetchHeapSnapshot().last;
+ HeapSnapshot snapshot = await isolate.fetchHeapSnapshot(false).last;
ObjectGraph graph = snapshot.graph;
expect(fooId, isNotNull);

Powered by Google App Engine
This is Rietveld 408576698