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

Update expired test fixtures #500

Merged
merged 6 commits into from
Nov 8, 2024
Merged

Update expired test fixtures #500

merged 6 commits into from
Nov 8, 2024

Conversation

wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Oct 11, 2024

A few test fixture certs have an expiration period. For one of the fixtures I upped the period so we don't need to do this as frequently. There were a couple of extra/unnecessary flags present that the latest openssl now fails on, so they were removed.

Additionally it was necessary to update the version of go used as well as the linter version (these go hand in hand). In doing so I used the main linter config we have in syft here as well.

Signed-off-by: Alex Goodman <[email protected]>
@wagoodman wagoodman enabled auto-merge (squash) October 11, 2024 13:21
@wagoodman wagoodman added the bug Something isn't working label Oct 11, 2024
Signed-off-by: Alex Goodman <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
@@ -33,7 +33,7 @@ SUCCESS := $(BOLD)$(GREEN)

# Test variables #################################
# the quality gate lower threshold for unit test total % coverage (by function statements)
COVERAGE_THRESHOLD := 45
COVERAGE_THRESHOLD := 30
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go 1.22 changed the rules around how coverage is counted -- this new value reflects within 2% of where we are today

@wagoodman wagoodman disabled auto-merge November 8, 2024 17:31
@wagoodman wagoodman merged commit 1ca2ca5 into main Nov 8, 2024
7 checks passed
@wagoodman wagoodman deleted the update-fixtures branch November 8, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working changelog-ignore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant