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

Fix unit tests that rely on pseudo-random numbers #4148

Merged
merged 1 commit into from
Aug 25, 2022

Commits on Aug 24, 2022

  1. Fix unit tests that rely on pseudo-random numbers

    Test_ofPacketOutBuilder_Done relies on specific pseudo-random numbers to
    be generated and will fail if another test also calls the pseudo-random
    number generator. This patch creates a dedicated random number generator
    for ofPacketOutBuilder and specifies a hardcoded seed for unit tests to
    make test outputs predictable.
    
    Signed-off-by: Quan Tian <qtian@vmware.com>
    tnqn committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    aaad71d View commit details
    Browse the repository at this point in the history