diff options
| author | Pieter van de Bruggen <pieter@puppetlabs.com> | 2011-05-17 13:00:48 -0700 |
|---|---|---|
| committer | Pieter van de Bruggen <pieter@puppetlabs.com> | 2011-05-17 13:00:48 -0700 |
| commit | d972ceaa8a799aa22dddbb81c3e0115bc94c52d4 (patch) | |
| tree | 6207606eae9f209b64eb75e41fa52cbf3d345d1d | |
| parent | 5457c70a66ef95482391e39e43f1fa99ac83e721 (diff) | |
| download | puppet-d972ceaa8a799aa22dddbb81c3e0115bc94c52d4.tar.gz puppet-d972ceaa8a799aa22dddbb81c3e0115bc94c52d4.tar.xz puppet-d972ceaa8a799aa22dddbb81c3e0115bc94c52d4.zip | |
(#7507) Add more filters for Ruby 1.9 spec failures
Paired-With: Matt Robinson
| -rwxr-xr-x | spec/integration/util/file_locking_spec.rb | 2 | ||||
| -rwxr-xr-x | spec/unit/indirector/facts/couch_spec.rb | 2 |
2 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 9e829df0e..3b6964e8b 100755 --- a/spec/integration/util/file_locking_spec.rb +++ b/spec/integration/util/file_locking_spec.rb @@ -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" do + it "should be able to keep file corruption from happening when there are multiple writers threads", :'fails_in_ruby_1.9.2' => true do threads = [] sync = Sync.new 9.times { |a| diff --git a/spec/unit/indirector/facts/couch_spec.rb b/spec/unit/indirector/facts/couch_spec.rb index 013fa3c33..b6477bafe 100755 --- a/spec/unit/indirector/facts/couch_spec.rb +++ b/spec/unit/indirector/facts/couch_spec.rb @@ -6,7 +6,7 @@ require 'puppet/indirector/facts/couch' describe "Puppet::Node::Facts::Couch" do describe "when couchdb is not available", :unless => Puppet.features.couchdb? do - it "should fail to initialize" do + it "should fail to initialize", :'fails_in_ruby_1.9.2' => true do lambda { Puppet::Node::Facts::Couch.new }.should raise_error end end |
