Sha256: fd5ed7ea85cf6bb34bc9256983146c48377f38eaf042a3b800eeca7d1c5a0ddb
Contents?: true
Size: 383 Bytes
Versions: 8
Compression:
Stored size: 383 Bytes
Contents
#!/usr/bin/env rspec 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
8 entries across 8 versions & 1 rubygems