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

Add return code if test suite has a failure #1704

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

sebrandon1
Copy link
Member

The ginkgo_removal branch needs to be able to return exit(1) if there are any nonCompliantObjects found in the checks.

Bonus:

  • Adjust testSecConPrivilegeEscalation and testContainerHostPort funcs to properly set compliantObjects.
  • Adjust calls to StringInSlice to be explicit with type because of linter failures.

@sebrandon1 sebrandon1 merged commit 65268fd into ginkgo_removal Dec 11, 2023
8 checks passed
@sebrandon1 sebrandon1 deleted the return_code branch February 7, 2024 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants