use retry for macOS simulations
The simulations on macOS are flaky. Let's use a retry loop for them.
The flakiness of this test on MacOS is caused by a problem in the simulator. Something is not deterministic. I believe I've fixed these issues in RC_2_0 and later. I would like those more recent branches to fail if some non-determinism is introduced again.
so, I'm hesitant to land this. It would be better to back-port the determinism fixes
IMO this isn't any worse than ignoring a CI failure, but sure, backporting is great.
I'll take a crack at backporting these fixes, if you can tell me how I can identify them.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.