Skip to content

testbed: add and adopt WithEnvVar for child process #30491

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

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

rmfitzpatrick
Copy link
Contributor

Description:
Adding a feature - These changes add a new WithEnvVar ChildProcessOption to be able to influence the child process environment without acting on the current environment. They also move the GOMAXPROCS=2 setting added in dd8e010 to each invoking test because though being helpful to address #27429, the constraint doesn't seem applicable to the helper directly. Limiting the utility as a whole instead of specifying in the test context cannot be easily worked around and is interfering w/ some load testing efforts.

Testing:
Added unit test and updated existing.

Documentation:
none needed

@dmitryax dmitryax merged commit ac716d0 into open-telemetry:main Jan 16, 2024
@github-actions github-actions bot added this to the next release milestone Jan 16, 2024
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Feb 1, 2024
…0491)

**Description:**
Adding a feature - These changes add a new `WithEnvVar`
`ChildProcessOption` to be able to influence the child process
environment without acting on the current environment. They also move
the `GOMAXPROCS=2` setting added in
open-telemetry@dd8e010
to each invoking test because though being helpful to address
open-telemetry#27429,
the constraint doesn't seem applicable to the helper directly. Limiting
the utility as a whole instead of specifying in the test context cannot
be easily worked around and is interfering w/ some load testing efforts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants