Sha256: 4b83948bd1f316b82104615fe3e6ee04c69690ff5303303c7095be9a85115ce3
Contents?: true
Size: 542 Bytes
Versions: 1
Compression:
Stored size: 542 Bytes
Contents
# encoding: UTF-8 require_relative 'spec_helper' # This test may only be meaningful with kerberos auth # Against server 2012, a kerberos connection will require reauth (get a 401) # if there are no requests for >= 15 seconds describe 'Verify kerberos will reauth when necessary', kerberos: true do before(:all) do @powershell = winrm_connection.shell(:powershell) end it 'work with a 18 second sleep' do ps_command = 'Start-Sleep -s 18' output = @powershell.run(ps_command) expect(output.exitcode).to eq(0) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
winrm-2.1.0 | tests/integration/auth_timeout_spec.rb |