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

Allow passing environment variables to run_sst #1129

Open
berquist opened this issue Sep 6, 2024 · 0 comments
Open

Allow passing environment variables to run_sst #1129

berquist opened this issue Sep 6, 2024 · 0 comments

Comments

@berquist
Copy link
Member

berquist commented Sep 6, 2024

For tests that manipulate environment variables, it is easy to trigger a race condition when tests run concurrently, such as when one test sets a variable and another unsets it. Rather than forcing test authors to use os.unsetenv or change os.environ, allow passing environment variable settings down through run_sst into the subprocess.Popen call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants