Skip to content

Restore environment variables after launch tests#1086

Merged
cottsay merged 1 commit intorollingfrom
cottsay/restore-environ
Aug 7, 2025
Merged

Restore environment variables after launch tests#1086
cottsay merged 1 commit intorollingfrom
cottsay/restore-environ

Conversation

@cottsay
Copy link
Copy Markdown
Member

@cottsay cottsay commented Aug 7, 2025

Description

These tests change the process environment variables using the SetEnvironmentVariable action. We should reset the variables when the test concludes to avoid stepping on other tests that execute in the same pytest process.

Is this user-facing behavior change?

No

Did you use Generative AI?

No

Additional Information

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

These tests change the process environment variables using the
SetEnvironmentVariable action. We should reset the variables when the
test concludes to avoid stepping on other tests that execute in the same
pytest process.

Signed-off-by: Scott K Logan <logans@cottsay.net>
@cottsay cottsay requested a review from wjwwood August 7, 2025 03:09
@cottsay cottsay self-assigned this Aug 7, 2025
@cottsay cottsay added the bug Something isn't working label Aug 7, 2025
Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

makes sense, lgtm!

@cottsay cottsay merged commit c6b48f5 into rolling Aug 7, 2025
2 of 3 checks passed
@cottsay cottsay deleted the cottsay/restore-environ branch August 7, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants