summaryrefslogtreecommitdiffstats
path: root/spec/integration/util
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppetlabs.com>2011-05-20 12:17:41 -0700
committerJosh Cooper <josh@puppetlabs.com>2011-05-20 13:51:09 -0700
commit17e7223526f3ec0b7eefc42e48fc215f5e1717c4 (patch)
treedafc53bf432719ff52f06ccad4faa460ddc2ef68 /spec/integration/util
parent181098ba045ee6731540a9d9d9517cd3a5c272e8 (diff)
downloadpuppet-17e7223526f3ec0b7eefc42e48fc215f5e1717c4.tar.gz
puppet-17e7223526f3ec0b7eefc42e48fc215f5e1717c4.tar.xz
puppet-17e7223526f3ec0b7eefc42e48fc215f5e1717c4.zip
(#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 <jacob@puppetlabs.com>
Diffstat (limited to 'spec/integration/util')
-rwxr-xr-xspec/integration/util/file_locking_spec.rb4
1 files changed, 2 insertions, 2 deletions
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|