summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xspec/integration/util/file_locking_spec.rb2
-rwxr-xr-xspec/unit/indirector/facts/couch_spec.rb2
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