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

change to testing utilities to fix rkt tests #4932

Merged
merged 1 commit into from
Nov 29, 2018
Merged

Conversation

cgbaker
Copy link
Contributor

@cgbaker cgbaker commented Nov 28, 2018

in MkAllocDir, do not update TaskConfig with All() from the task builder, just with Env()
This was polluting the task environment variables with node attributes and causing failures in the rkt tests, which do not tolerate periods in environment variables.

Local testing does not indicate any new test failures in the Docker driver.

resolves NMD-1172

…task builder, just with Env() (because it pollutes environment variables with node attributes and fails the rkt tests)
@cgbaker cgbaker requested a review from nickethier November 28, 2018 22:23
Copy link
Member

@schmichael schmichael left a comment

Choose a reason for hiding this comment

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

I confirmed that TaskRunner uses TaskEnv Map():

Env: tr.envBuilder.Build().Map(),

@cgbaker cgbaker merged commit 6f2502e into master Nov 29, 2018
@endocrimes endocrimes deleted the b-1172-rkt-env-vars branch November 29, 2018 14:19
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants