| Index: runtime/observatory/tests/service/service_test_common.dart
|
| diff --git a/runtime/observatory/tests/service/service_test_common.dart b/runtime/observatory/tests/service/service_test_common.dart
|
| index 2a68a528c6b3be88ffd91c24c2f284ea7fa2a59e..bf1d013c5d89c9c8d0e54ebac8802431b161ef11 100644
|
| --- a/runtime/observatory/tests/service/service_test_common.dart
|
| +++ b/runtime/observatory/tests/service/service_test_common.dart
|
| @@ -157,7 +157,7 @@ Future<Isolate> hasPausedFor(Isolate isolate, String kind) {
|
| isolate.vm.getEventStream(VM.kDebugStream).then((stream) {
|
| var subscription;
|
| subscription = stream.listen((ServiceEvent event) {
|
| - if (event.kind == kind) {
|
| + if ((isolate == event.isolate) && (event.kind == kind)) {
|
| if (completer != null) {
|
| // Reload to update isolate.pauseEvent.
|
| print('Paused with $kind');
|
|
|