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

testutil: normalize test names. #92

Merged
merged 1 commit into from
Apr 22, 2023

Conversation

ipuustin
Copy link
Contributor

Noticed that when we use run_test_with_sudo from wasmedge shim (such as in #78), the test name passed to the function contains ::{{closure}} at the end, meaning that the tests aren't triggered by the test runner. The name normalization fixes it. I'm thinking we might at some point add more checks and validation, so I made a separate function.

Signed-off-by: Ismo Puustinen <[email protected]>
Copy link
Member

@Mossaka Mossaka left a comment

Choose a reason for hiding this comment

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

lgtm!

@cpuguy83
Copy link
Member

Thanks!
We are going to hold off merges until the youki wasmedge PR is merged.

@cpuguy83 cpuguy83 merged commit 0582758 into containerd:main Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants