diff options
author | Tim Smith <tsmith@chef.io> | 2020-08-21 16:34:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-21 16:34:06 -0700 |
commit | e8c3017825e526c207c5c7a49c13a0353b3b6838 (patch) | |
tree | d6d2cf25f10be884b5f8eaa3f33f282b01ef217d /spec | |
parent | 2293419b0d5ba15685eff1550a93050f26bfd168 (diff) | |
parent | c88ea34bd538afba22358f8548ad1d7c01a44b5c (diff) | |
download | chef-e8c3017825e526c207c5c7a49c13a0353b3b6838.tar.gz |
Merge pull request #9482 from MsysTechnologiesllc/dh/Fix-knife-ssh-hang-win2k16
Avoid knife ssh freeze on windows
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/knife/ssh_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/knife/ssh_spec.rb b/spec/unit/knife/ssh_spec.rb index 72111eed3d..8606045e8c 100644 --- a/spec/unit/knife/ssh_spec.rb +++ b/spec/unit/knife/ssh_spec.rb @@ -283,10 +283,10 @@ describe Chef::Knife::Ssh do end describe "#ssh_command" do - let(:execution_channel) { double(:execution_channel, on_data: nil) } + let(:execution_channel) { double(:execution_channel, on_data: nil, on_extended_data: nil) } let(:session_channel) { double(:session_channel, request_pty: nil) } - let(:execution_channel2) { double(:execution_channel, on_data: nil) } + let(:execution_channel2) { double(:execution_channel, on_data: nil, on_extended_data: nil) } let(:session_channel2) { double(:session_channel, request_pty: nil) } let(:session) { double(:session, loop: nil) } |