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

Relax assertion in test_exec_as_nonexistent_user #1409

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

art-dsit
Copy link
Contributor

This PR contains:

  • New features
  • Changes to dev-tools e.g. CI config / github tooling
  • Docs
  • Bug fixes
  • Code refactor

What is the current behavior? (You can also link to an open issue here)

The sandbox behaviour isn't especially well defined for when the specified user for exec isn't found. The existing self_check test is overly coupled to the existing Docker implementation.

What is the new behavior?

I think it's good enough to insist the exec returns failure, and that the erroneous username is somewhere in the result stdout/stderr. So the test is relaxed a bit in this PR.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

@jjallaire-aisi jjallaire-aisi merged commit f380985 into main Feb 26, 2025
10 checks passed
@jjallaire-aisi jjallaire-aisi deleted the self_check_user branch February 26, 2025 15:19
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.

2 participants