File: deactive_test_hash_ruby20.patch

package info (click to toggle)
ruby-thread-safe 0.3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 700 kB
  • ctags: 1,072
  • sloc: java: 5,458; ruby: 2,750; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 514 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: deactive test known to fail with Ruby 2.0
Bug: https://github.com/headius/thread_safe/issues/10
Author: Cédric Boutillier <boutil@debian.org>
Forwarded: not-needed
Last-Update: 2013-09-26

--- ruby-thread-safe.orig/test/test_hash.rb
+++ ruby-thread-safe/test/test_hash.rb
@@ -3,6 +3,7 @@ require 'thread_safe'
 
 class TestHash < Test::Unit::TestCase
   def test_concurrency
+    pend if RUBY_VERSION =~ /2\.0/
     hsh = ThreadSafe::Hash.new
     assert_nothing_raised do
       (1..100).map do |i|