coverage icon indicating copy to clipboard operation
coverage copied to clipboard

Tests with `Isolate.run` pause indefinitely.

Open HosseinYousefi opened this issue 2 years ago • 6 comments

This never prints 42 when it's run using --pause-isolates-on-exit.

import 'dart:isolate';

void main() async {
  print(await Isolate.run(() => 42));
}

And since coverage uses the --pause-isolates-on-exit flag (presumably to communicate with the VM service), the tests with Isolate.run time out.

HosseinYousefi avatar Nov 21 '23 09:11 HosseinYousefi