-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
4 changed files
with
49 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters