Sha256: ab64be8e05502de616c434719faa8e0065900efeb3c62810023e2a54f8c74170
Contents?: true
Size: 392 Bytes
Versions: 4
Compression:
Stored size: 392 Bytes
Contents
#! /usr/bin/env ruby -S 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
4 entries across 4 versions & 1 rubygems