Merge pull request #9987 from mbforbes/livingUpgrade

Node upgrade test
This commit is contained in:
Satnam Singh
2015-06-19 10:02:52 -07:00
11 changed files with 490 additions and 238 deletions

View File

@@ -142,6 +142,8 @@ func (s *SSHTunnel) Close() error {
return nil
}
// RunSSHCommand returns the stdout, stderr, and exit code from running cmd on
// host along with any SSH-level error.
func RunSSHCommand(cmd, host string, signer ssh.Signer) (string, string, int, error) {
// Setup the config, dial the server, and open a session.
config := &ssh.ClientConfig{