Index: runtime/observatory/tests/service/isolate_lifecycle_test.dart |
diff --git a/runtime/observatory/tests/service/isolate_lifecycle_test.dart b/runtime/observatory/tests/service/isolate_lifecycle_test.dart |
index be878a222ca6b9aa714ae88f93bdca806ef724e1..318013706ab094fe287449d40e796c4a9840de83 100644 |
--- a/runtime/observatory/tests/service/isolate_lifecycle_test.dart |
+++ b/runtime/observatory/tests/service/isolate_lifecycle_test.dart |
@@ -55,7 +55,7 @@ var tests = [ |
// Wait for the testee to start all of the isolates. |
if (vm.isolates.length != spawnCount + 1) { |
await processServiceEvents(vm, (event, sub, completer) { |
- if (event.eventType == ServiceEvent.kIsolateStart) { |
+ if (event.kind == ServiceEvent.kIsolateStart) { |
if (vm.isolates.length == spawnCount + 1) { |
sub.cancel(); |
completer.complete(null); |
@@ -77,7 +77,7 @@ var tests = [ |
// Wait for all spawned isolates to hit pause-at-exit. |
if (numPaused(vm) != spawnCount) { |
await processServiceEvents(vm, (event, sub, completer) { |
- if (event.eventType == ServiceEvent.kPauseExit) { |
+ if (event.kind == ServiceEvent.kPauseExit) { |
if (numPaused(vm) == spawnCount) { |
sub.cancel(); |
completer.complete(null); |
@@ -93,7 +93,7 @@ var tests = [ |
(VM vm) async { |
var resumedReceived = 0; |
var eventsDone = processServiceEvents(vm, (event, sub, completer) { |
- if (event.eventType == ServiceEvent.kIsolateExit) { |
+ if (event.kind == ServiceEvent.kIsolateExit) { |
resumedReceived++; |
if (resumedReceived == resumeCount) { |
sub.cancel(); |