Sha256: b21beb6817ecc5da9974eb33fe1be7fb4c183c715ecd0c9239e113679e1a1ae0

Contents?: true

Size: 311 Bytes

Versions: 16

Compression:

Stored size: 311 Bytes

Contents

# We should get a warning for using the timeout option
Facter.add(:timeout, :name => 'bar', :timeout => 1000) do
    # And another warning for using timeout=
    self.timeout = 10
end

# Try again to ensure only one warning each
Facter.add(:timeout, :name => 'bar', :timeout => 100) do
    self.timeout = 1
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
facter-3.12.2.cfacter.20181217 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.12.1.cfacter.20181031 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.11.6.cfacter.20181031 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.12.1.cfacter.20181023 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.11.5.cfacter.20181022 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.12.0.cfacter.20181004 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.12.0.cfacter.20181001 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.12.0.cfacter.20180918 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.11.4.cfacter.20180821 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.11.3.cfacter.20180716 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.11.2.cfacter.20180612 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.9.6.cfacter.20180612 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.11.2.cfacter.20180606 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.9.6.cfacter.20180606 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
facter-3.11.0.cfacter.20180319 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb
cfacter-3.11.0.rc.20180314 ext/facter/facter/lib/tests/fixtures/ruby/timeout.rb