puppetlabs / puppetlabs-vcsrepo

Support for source control repositories
http://forge.puppetlabs.com/puppetlabs/vcsrepo
GNU General Public License v2.0
223 stars 285 forks source link

fix repeated acceptance tests on the same container #575

Closed bugfood closed 2 years ago

bugfood commented 2 years ago

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 commented 2 years ago

Thank you.

-Corey