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

fix repeated acceptance tests on the same container #575

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

bugfood
Copy link

@bugfood bugfood commented Oct 24, 2022

When pdk bundle exec rake litmus:acceptance:parallel is run twice, the second command hangs. This happens because ssh-keygen is waiting for interactive input:

/home/testuser-ssh/.ssh/id_rsa already exists.
Overwrite (y/n)?

To fix this, ensure that we start out with an empty .ssh directory each time.

When `pdk bundle exec rake litmus:acceptance:parallel` is run twice, the
second command hangs. This happens because ssh-keygen is waiting for
interactive input:
```
/home/testuser-ssh/.ssh/id_rsa already exists.
Overwrite (y/n)?
```

To fix this, ensure that we start out with an empty .ssh directory each
time.
@bugfood bugfood requested a review from a team as a code owner October 24, 2022 19:55
Copy link

@LukasAud LukasAud left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for your contribution!

@LukasAud LukasAud merged commit 9a4fa2f into puppetlabs:main Oct 31, 2022
@bugfood
Copy link
Author

bugfood commented Oct 31, 2022

Thank you.

-Corey

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

Successfully merging this pull request may close these issues.

3 participants