Index: tests/isolate/ping_pause_test.dart |
diff --git a/tests/isolate/ping_pause_test.dart b/tests/isolate/ping_pause_test.dart |
index ec47f7afb612f35becc0f524ffc1af9b5a71d97b..11fa951f0af29a4ba4ac2dba37ffd4eab5a0f3e5 100644 |
--- a/tests/isolate/ping_pause_test.dart |
+++ b/tests/isolate/ping_pause_test.dart |
@@ -41,7 +41,7 @@ void main() { |
isolate.resume(resume); |
pingPort.close(); |
}; |
- isolate.ping(pingPort.sendPort, Isolate.BEFORE_NEXT_EVENT); |
+ isolate.ping(pingPort.sendPort, Isolate.PING_CONTROL); |
echoPort.send(2); |
echoPort.send(1); |
}); |