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

clustermesh: improve reliability of TestClusterMesh #26370

Merged
merged 1 commit into from
Jun 21, 2023

Commits on Jun 20, 2023

  1. clustermesh: improve reliability of TestClusterMesh

    Currently, TestClusterMesh is subject to possible race conditions caused
    by the conjoint usage of defer (i.e., to stop the identity allocator)
    and Cleanup (i.e., to execute the stop hook of the clustermesh
    subsystem). Additionally, some cluster ID reservation assertions may
    fail due race conditions as they are not "eventually" tested.
    
    Let's fix this possible issues to improve the reliability of the test.
    While at it, let's also convert it to leverage the testing framework.
    
    Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
    giorio94 committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    a8cba7c View commit details
    Browse the repository at this point in the history