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

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

Issue 2344253002: Fix async_generator_breakpoint_test so it awaits on isolate resume requests (Closed)
Patch Set: Created 4 years, 3 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: runtime/observatory/tests/service/async_generator_breakpoint_test.dart
diff --git a/runtime/observatory/tests/service/async_generator_breakpoint_test.dart b/runtime/observatory/tests/service/async_generator_breakpoint_test.dart
index 7a26e42e745834d1686877d53196db84273e2243..aef2e8e3e973041575eed36740845609c2fe90da 100644
--- a/runtime/observatory/tests/service/async_generator_breakpoint_test.dart
+++ b/runtime/observatory/tests/service/async_generator_breakpoint_test.dart
@@ -75,7 +75,7 @@ testAsync(Isolate isolate) async {
var bp = event.breakpoint;
print('Hit $bp');
hits.add(bp);
- isolate.resume();
+ await isolate.resume();
if (hits.length == 5) break;
}
« 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