forked from openshift/compliance-operator
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We recently made a change to ensure we clean up resources properly after we perform e2e tests. Specifically to avoid race conditions that leaves the compliance operator resources in a bricked state, even when the tests pass. This commit uses a similar pattern for test setup by leveraging the `setUp` method before calling `m.Run()` to make sure the cluster is ready before we run the actual tests. One advantage is that we're simplifying the logic to a single layer before the tests run. Further changes will make it easier to decouple the framework, context, and e2eutils into a single set of utilities we can share across repositories if needed.
- Loading branch information
Showing
7 changed files
with
443 additions
and
351 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
Oops, something went wrong.