-
-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Pick platform randomly in "sloppy" mode. #4795
Conversation
Hmm, in ten runs, I got iOS nine times and Android just once:
Could the randomness algorithm be wrong, or should I go buy a lottery ticket? (I think the probability of one head and nine tails in a coin-flip is |
OK, after ten more runs, this is looking better 🙂:
|
So, looks mostly good! In the commit message, let's link to prior discussion (looks like #4700 (comment)), so that's discoverable. Also
|
feb90aa
to
9e817b5
Compare
Fixed the shellcheck and edited the commit message :) |
Thanks! Merged. |
9e817b5
to
3f7c015
Compare
Thanks, this is a useful change. There were some issues with the shell-scripting style. I've just pushed fixes to those: Please take a look, including the explanations in the commit messages. |
Oops! Thanks for the fixes. I'll be more careful when reviewing next time; I've just gone and read all those. 🙂 |
This will give us more coverage of android when we're running tools/test
in sloppy mode (which is the default).
This does make things somewhat flaky, but on the whole it makes us more
likely to notice failures that only occur on one platform sooner.