-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/e2e: fix CleanupVolume/Secrets()
Just like Cleanup() they should check the error codes. While doing this it was clear that some volume tests were calling Cleanup() twice so remove this. Instead make sure they call Cleanup() themselves so callers only need to do one call. This is required because we cannot use Expect().To() before doing all the cleanup. An error causes panic does results in an early return thus missing potentially important cleanup. Signed-off-by: Paul Holzinger <[email protected]>
- Loading branch information
Showing
4 changed files
with
8 additions
and
22 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