-
Notifications
You must be signed in to change notification settings - Fork 184
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
flaky tests #120
Comments
Some tests are flaky due to the random seed. It's not clear whether the problem is the code or the test. These all need further investigation. Just fix the seed for now so that the tests pass. golang#120
Need to add a seed flag and plumb it through the tests. |
If there are tests that are still flaky after using new seeded random in testing comes through, update the flagged flaky methods to create a specific random Source to pass into the calls to random things e.g. r := rand.New(rand.NewSource(1)) |
This should always be considered a temporary workaround. Tests should pass with all possible seeds. |
Some tests are flaky due to use of randomness. Here are the failure counts for 1000 runs:
The text was updated successfully, but these errors were encountered: