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

Unified Diff: tests/standalone/vmservice/isolate_stacktrace_command_script.dart

Issue 22607005: Remove race(s) in vmservice tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « runtime/vm/dart_api_impl.cc ('k') | tests/standalone/vmservice/multiple_isolate_list_script.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/vmservice/isolate_stacktrace_command_script.dart
diff --git a/tests/standalone/vmservice/isolate_stacktrace_command_script.dart b/tests/standalone/vmservice/isolate_stacktrace_command_script.dart
index a573126b244bf47284940fa6a8b40ba661a6d4b8..b9bbccff4a13b0dd6ef3cbd45a055e7829d37289 100644
--- a/tests/standalone/vmservice/isolate_stacktrace_command_script.dart
+++ b/tests/standalone/vmservice/isolate_stacktrace_command_script.dart
@@ -9,6 +9,7 @@ import 'dart:isolate';
void a() {
int x = 0;
+ print(''); // Print blank line to signal that we are ready.
while (true) {
x &= x;
}
@@ -30,7 +31,6 @@ void myIsolateName() {
main() {
spawnFunction(myIsolateName);
- print(''); // Print blank line to signal that we are ready.
// Wait until signaled from spawning test.
stdin.first.then((_) => exit(0));
}
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | tests/standalone/vmservice/multiple_isolate_list_script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698