[DRE-commits] [ruby-mysql2] 02/03: deactivate time sensitive test, failing with Ruby 2.1

Cédric Boutillier boutil at moszumanska.debian.org
Tue Apr 15 19:29:26 UTC 2014


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

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

commit b9db06b644f9e79c13a4812b5b5716550bccdb46
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Apr 15 12:06:00 2014 +0200

    deactivate time sensitive test, failing with Ruby 2.1
---
 debian/patches/deactivate_failing_specs.patch | 17 +++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/deactivate_failing_specs.patch b/debian/patches/deactivate_failing_specs.patch
new file mode 100644
index 0000000..52dae1d
--- /dev/null
+++ b/debian/patches/deactivate_failing_specs.patch
@@ -0,0 +1,17 @@
+Description: deactivate test failing with Ruby 2.1
+ This test is known to be randomly failing, since it is time sensitive.
+Bug: https://github.com/brianmario/mysql2/issues/508
+Author: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2014-04-15
+
+--- a/spec/mysql2/client_spec.rb
++++ b/spec/mysql2/client_spec.rb
+@@ -358,7 +358,7 @@
+       if !defined? Rubinius
+         # XXX this test is not deterministic (because Unix signal handling is not)
+         # and may fail on a loaded system
+-        it "should run signal handlers while waiting for a response" do
++        xit "should run signal handlers while waiting for a response" do
+           mark = {}
+           trap(:USR1) { mark[:USR1] = Time.now }
+           begin
diff --git a/debian/patches/series b/debian/patches/series
index d2a8947..d4b4cde 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 remove_rpath_compilation_flag.patch
 remove_rubygems_from_examples.patch
+deactivate_failing_specs.patch

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



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