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 some tests that would fail with existing env vars #772

Merged

Commits on Aug 22, 2022

  1. Fix some tests that would fail with existing env vars

    Some of the unit tests would fail if KUBECONFIG or PFLT_INDEXIMAGE
    were already present in the environment. This patch cleans those up
    a bit by checking for the existence, clearing them when required, and
    cleaning up appropriately after the test is run.
    
    This also includes minor renaming of some of the test suites, as they
    overlapped, and it was confusing where the error was actually coming
    from.
    
    Signed-off-by: Brad P. Crochet <brad@redhat.com>
    bcrochet committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    41725c6 View commit details
    Browse the repository at this point in the history