Skip to content
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

rt: improve rng_seed test robustness #5075

Merged
merged 1 commit into from Oct 5, 2022
Merged

Commits on Oct 4, 2022

  1. rt: improve rng_seed test robustness

    The original tests for the `Builder::rng_seed` added in #4910 were a bit
    fragile. There have already been a couple of instances where internal
    refactoring caused the tests to fail and need to be modified. While it
    is expected that internal refactoring may cause the random values to
    change, this shouldn't cause the tests to break.
    
    The tests should be more robust and not be affected by internal
    refactoring or changes in the Rust compiler version. The tests are
    changed to perform the same operation in 2 runtimes created with the
    same seed, the expectation is that the values that result from each
    runtime are the same.
    hds committed Oct 4, 2022
    Copy the full SHA
    2cb5600 View commit details
    Browse the repository at this point in the history