Sha256: 8335f22604891d48d001c758b34cc0a793f83129e1e0a48ac41e6ded515f9c6a

Contents?: true

Size: 424 Bytes

Versions: 2

Compression:

Stored size: 424 Bytes

Contents

# encoding: UTF-8
describe 'issue 59', integration: true do
  before(:all) do
    @winrm = winrm_connection
  end

  describe 'long running script without output' do
    it 'should not error' do
      output = @winrm.powershell('sleep 60; Write-Host "Hello"')
      expect(output).to have_exit_code 0
      expect(output).to have_stdout_match(/Hello/)
      expect(output).to have_no_stderr
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/winrm-1.3.6/spec/issue_59_spec.rb
winrm-1.3.6 spec/issue_59_spec.rb