dart /
co19 /
bb3b9230a6a16b8ca24e263bcc97a448f7d1f5e8 Avoid sender making more progress than the receiver in Isolate/pause_A01_t01/2. (#1242)
In these tests, one isolate continuously sends messages to another without back pressure. If the system is loaded, the sender may send messages at a faster rate then the receiver can process them and the test can time out before receiver processes enough messages to end the test. Instead of processing a large number of messages to ensure some of them would happen after the pause request, use synchronous sleeps.
2 files changed