Package: ruby-hamster / 3.0.0-2

0002-skip-timing-sensitive-test.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Subject: skip timing sensitive test
Author: Cédric Boutillier <boutil@debian.org>
Date: 2017-02-07
Bug-Debian: https://bugs.debian.org/853032

---
 spec/lib/hamster/list/multithreading_spec.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/lib/hamster/list/multithreading_spec.rb b/spec/lib/hamster/list/multithreading_spec.rb
index bb4359d..1b5e6f7 100644
--- a/spec/lib/hamster/list/multithreading_spec.rb
+++ b/spec/lib/hamster/list/multithreading_spec.rb
@@ -30,7 +30,7 @@ describe Hamster::List do
     threads.each(&:join)
   end
 
-  it "doesn't give horrendously bad performance if thread realizing the list sleeps" do
+  xit "doesn't give horrendously bad performance if thread realizing the list sleeps" do
     start = Time.now
     list  = (1..100).to_list.map { |x| sleep(0.001); x * 2 }
 
@@ -45,4 +45,4 @@ describe Hamster::List do
     elapsed = Time.now - start
     elapsed.should_not > 0.3
   end
-end
\ No newline at end of file
+end