diff options
| author | Josh Cooper <josh@puppetlabs.com> | 2011-05-20 12:17:41 -0700 |
|---|---|---|
| committer | Josh Cooper <josh@puppetlabs.com> | 2011-05-20 14:34:52 -0700 |
| commit | 76ad2bb2ea14a915344acd19da2c8a1edb3067b0 (patch) | |
| tree | 27561f6de32dd7b844c35caad8c4ba144c587a61 | |
| parent | be2f20899d76621db4cf574d074f0ae89777272e (diff) | |
| download | puppet-76ad2bb2ea14a915344acd19da2c8a1edb3067b0.tar.gz puppet-76ad2bb2ea14a915344acd19da2c8a1edb3067b0.tar.xz puppet-76ad2bb2ea14a915344acd19da2c8a1edb3067b0.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>
| -rwxr-xr-x | spec/integration/util/file_locking_spec.rb | 4 |
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| |
