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 race condition in EgressController and unit tests #2307

Merged
merged 1 commit into from
Jun 25, 2021

Commits on Jun 24, 2021

  1. Fix race condition in EgressController and unit tests

    ipAllocatorMap was read without holding the mutex in syncEgressIP. This
    patch fixes it and stabilizes the unit tests by waiting for cache sync
    before starting creating objects. This is because resource creation
    events will be missing if the resources are created in-between list and
    watch call of an fake informer.
    
    Signed-off-by: Quan Tian <[email protected]>
    tnqn committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    07f3c22 View commit details
    Browse the repository at this point in the history