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

tests: fix failing e2e test #38

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

fabriziosestito
Copy link
Contributor

@fabriziosestito fabriziosestito commented Aug 1, 2023

Description

Fixes failing e2e tests due to a change in the error message when a regexp is not valid.

Test

Yes

Additional Information

Potential improvement

Shouldn't the CI catch this when opening a PR?

@fabriziosestito fabriziosestito requested a review from a team as a code owner August 1, 2023 13:55
@viccuad viccuad changed the title fix: fix failing e2e test tests: fix failing e2e test Aug 1, 2023
Copy link
Member

@viccuad viccuad left a comment

Choose a reason for hiding this comment

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

LGTM. We didn't catch it, and it surprises me that e2e tests for go policies are not run by the reusable workflow:
https://github.com/kubewarden/github-actions/blob/main/.github/workflows/reusable-test-policy-go.yml#L25

Maybe we could open a card about it. Something mirroring the rust workflow, and adding a no-op make e2e-tests to go policies that miss it, or set make tests to depend on make e2e-tests.

Signed-off-by: Fabrizio Sestito <fabrizio.sestito@suse.com>
@fabriziosestito fabriziosestito merged commit 17d36ce into kubewarden:main Aug 1, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants