forked from openshift/origin
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/extended/cli/mustgather: Separate gather_audit_logs test
[1] is removing these from the default gather, because they're mostly useful for internal debugging, less useful in end-user bug reports, and can run to hundreds of megabytes. But we still want to ensure that they work as expected when they are explicitly requested. This commit pulls the audit-log checks out of the test-case for the generic invocation. And it adds a new test case with those checks after an explict gather_audit_logs request. The EOF sleep was recommended by Maciej [2,3], although it's not clear to me how the oc call could exit success before the output directory was on disk. The annotation change was generated with: $ hack/verify-generated-bindata.sh [1]: openshift/must-gather#143 [2]: openshift#24680 (comment) [3]: openshift#24680 (comment)
- Loading branch information
Showing
2 changed files
with
98 additions
and
59 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
1 change: 1 addition & 0 deletions
1
test/extended/util/annotate/generated/zz_generated.annotations.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.