[DRE-commits] [ruby-hamster] 01/02: skip timing sensitive test (Closes: #853032)

Cédric Boutillier boutil at moszumanska.debian.org
Tue Feb 7 23:03:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-hamster.

commit 0949c7471e394787dec685f79c67c9eda882e0ca
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Feb 7 23:37:57 2017 +0100

    skip timing sensitive test (Closes: #853032)
---
 .../patches/0002-skip-timing-sensitive-test.patch  | 29 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/0002-skip-timing-sensitive-test.patch b/debian/patches/0002-skip-timing-sensitive-test.patch
new file mode 100644
index 0000000..e672dfc
--- /dev/null
+++ b/debian/patches/0002-skip-timing-sensitive-test.patch
@@ -0,0 +1,29 @@
+Subject: skip timing sensitive test
+Author: Cédric Boutillier <boutil at 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
diff --git a/debian/patches/series b/debian/patches/series
index e4f2364..daac423 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-remove-code-climate.patch
+0002-skip-timing-sensitive-test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-hamster.git



More information about the Pkg-ruby-extras-commits mailing list