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

test: Randomize root pass for Linode creations in integration tests #433

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

ykim-1
Copy link
Contributor

@ykim-1 ykim-1 commented Dec 1, 2023

📝 Description

In integration tests, we currently use public hard coded root passwords for Linode instances. To enhance security, transitioning to randomly generated root passwords during tests instead.

✔️ How to Test

Here are list of tests that were changed:
make ARGS='-run TestInstance_Disk_ListMultiple' fixtures
make ARGS='-run TestInstance_Disk_ResetPassword' fixtures
make ARGS='-run TestInstance_Rebuild' fixtures
make ARGS='-run TestEventPoller_InstancePower' fixtures
make ARGS='-run TestWaitForResourceFree' fixtures

📷 Preview

If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.

@ykim-1 ykim-1 requested a review from a team as a code owner December 1, 2023 18:25
@ykim-1 ykim-1 requested review from lgarber-akamai and amisiorek-akamai and removed request for a team December 1, 2023 18:25
Copy link
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

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

All tests are passing locally, LGTM!

@ykim-1 Could you re-run and push up relevant filters before merging?

Copy link
Contributor

@amisiorek-akamai amisiorek-akamai left a comment

Choose a reason for hiding this comment

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

Works as expected on my end!

@ykim-1 ykim-1 merged commit d853175 into linode:main Dec 5, 2023
3 checks passed
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.

3 participants