Sha256: ef9e62388e91d949e2c043ac1596f2c60aa4caaf4492fbe9f5742328c1ee83bb

Contents?: true

Size: 496 Bytes

Versions: 26

Compression:

Stored size: 496 Bytes

Contents

# encoding: UTF-8
# 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
    @winrm = winrm_connection
  end

  it 'work with a 18 second sleep' do
    ps_command = 'Start-Sleep -s 18'
    output = @winrm.run_powershell_script(ps_command)
    output[:exitcode].should == 0
  end
end

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/winrm-1.8.1/spec/auth_timeout_spec.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/winrm-1.8.1/spec/auth_timeout_spec.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/gems/winrm-1.8.1/spec/auth_timeout_spec.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/gems/winrm-1.8.1/spec/auth_timeout_spec.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/winrm-1.8.1/spec/auth_timeout_spec.rb
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/winrm-1.8.1/spec/auth_timeout_spec.rb
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/winrm-1.8.1/spec/auth_timeout_spec.rb
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/winrm-1.8.1/spec/auth_timeout_spec.rb
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/winrm-1.8.1/spec/auth_timeout_spec.rb
winrm-1.8.1 spec/auth_timeout_spec.rb
winrm-1.8.0 spec/auth_timeout_spec.rb
winrm-1.7.2 spec/auth_timeout_spec.rb
winrm-1.7.0 spec/auth_timeout_spec.rb
winrm-1.6.1 spec/auth_timeout_spec.rb
winrm-1.6.0 spec/auth_timeout_spec.rb
winrm-1.5.0 spec/auth_timeout_spec.rb
winrm-1.4.0 spec/auth_timeout_spec.rb
winrm-1.3.5 spec/auth_timeout_spec.rb
winrm-1.3.5.dev spec/auth_timeout_spec.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/winrm-1.3.4/spec/auth_timeout_spec.rb