From 76ad2bb2ea14a915344acd19da2c8a1edb3067b0 Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Fri, 20 May 2011 12:17:41 -0700 Subject: (#7507) Add exclude filter for ruby 1.9 spec failures Exclude spec test for multiple writer processes as this fails intermittently on ruby 1.9. Reviewed-by: Jacob Helwig --- spec/integration/util/file_locking_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/integration/util/file_locking_spec.rb b/spec/integration/util/file_locking_spec.rb index 3b6964e8b..624ba033c 100755 --- a/spec/integration/util/file_locking_spec.rb +++ b/spec/integration/util/file_locking_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' require 'puppet/util/file_locking' -describe Puppet::Util::FileLocking do +describe Puppet::Util::FileLocking, :'fails_on_ruby_1.9.2' => true do before :each do @file = Tempfile.new("puppetspec") filepath = @file.path @@ -13,7 +13,7 @@ describe Puppet::Util::FileLocking do File.open(@file, "w") { |f| f.puts YAML.dump(@data) } end - it "should be able to keep file corruption from happening when there are multiple writers threads", :'fails_in_ruby_1.9.2' => true do + it "should be able to keep file corruption from happening when there are multiple writers threads" do threads = [] sync = Sync.new 9.times { |a| -- cgit