envato / ami-spec

Acceptance testing your AMIs
MIT License
49 stars 15 forks source link

Wait for command #52

Closed patrobinson closed 4 years ago

patrobinson commented 4 years ago

ssh.exec runs a command but doesn't wait for it to complete. That made this feature ineffective.

Use ssh.exec!. Arguably ssh.exec should wait and exec! should not wait, since that's surprising, but who am I to argue with the creators of net/ssh.