[flutter_tools] write test to convince self of lack of timing issue (#58011)

In #55864 a race condition was described where a done event is received before we finish connecting. This cannot happen, since async functions begin synchronously and the flag isWaitingForVm is tripped immediately, keeping onDone from exiting.
https://dart.googlesource.com/external/github.com/flutter/flutter/+/f77c669d687c11d6aca81f053bbf028adc59794e
1 file changed
tree: 9599abb08d6cd8e990e035341ba9306bf81ad50e
  1. commits.json