Sha256: bf6eafa33c25d37014c88763e6084533367c2589980080feff7d83404e80bdd7

Contents?: true

Size: 383 Bytes

Versions: 29

Compression:

Stored size: 383 Bytes

Contents

#! /usr/bin/env ruby
require 'spec_helper'

describe Puppet::Parser::Functions do
  it "should support multiple threads autoloading the same function" do
    threads = []
    lambda {
      10.times { |a|
        threads << Thread.new {
          Puppet::Parser::Functions.function("template")
        }
      }
    }.should_not raise_error
    threads.each { |t| t.join }
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
puppet-3.3.2 spec/integration/parser/functions_spec.rb
puppet-3.3.1 spec/integration/parser/functions_spec.rb
puppet-3.3.1.rc3 spec/integration/parser/functions_spec.rb
puppet-3.3.1.rc2 spec/integration/parser/functions_spec.rb
puppet-3.3.1.rc1 spec/integration/parser/functions_spec.rb
puppet-3.3.0 spec/integration/parser/functions_spec.rb
puppet-3.3.0.rc3 spec/integration/parser/functions_spec.rb
puppet-3.3.0.rc2 spec/integration/parser/functions_spec.rb
puppet-3.2.4 spec/integration/parser/functions_spec.rb
puppet-3.2.3 spec/integration/parser/functions_spec.rb
puppet-3.2.3.rc1 spec/integration/parser/functions_spec.rb
puppet-3.2.2 spec/integration/parser/functions_spec.rb
puppet-3.2.1 spec/integration/parser/functions_spec.rb
puppet-3.2.1.rc1 spec/integration/parser/functions_spec.rb
puppet-3.2.0.rc2 spec/integration/parser/functions_spec.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/spec/integration/parser/functions_spec.rb
puppet-3.2.0.rc1 spec/integration/parser/functions_spec.rb
puppet-3.1.1 spec/integration/parser/functions_spec.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/spec/integration/parser/functions_spec.rb
puppet-3.1.0 spec/integration/parser/functions_spec.rb