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

Improve tests #3541

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Improve tests #3541

merged 2 commits into from
Oct 3, 2023

Commits on Oct 2, 2023

  1. chore(Makefile): enable '-shuffle on' for random

    By using '-shuffle on' we can run the tests in a random order, which
    helps us to find any unintentional inter-test dependencies or state
    leakages.
    geyslan committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    9b6d344 View commit details
    Browse the repository at this point in the history
  2. chore(test): enhance tests using t.Parallel()

    Utilize t.Parallel() in unit tests to enable concurrent execution. This
    takes advantage of multiple CPU cores, reducing the overall test suite
    runtime.
    
    Critically, this practice elevates the detection of insidious race
    conditions and state leakages—issues that often remain concealed during
    serial test execution.
    geyslan committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    a2ec86e View commit details
    Browse the repository at this point in the history