[DRE-commits] [ruby-em-redis] 01/05: add disable_test_random_order.patch

Cédric Boutillier boutil at moszumanska.debian.org
Tue Sep 30 22:43:39 UTC 2014


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

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

commit 8d5c1d5840f322608014cd8dbf207f4ce053a7ec
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Oct 1 00:06:18 2014 +0200

    add disable_test_random_order.patch
---
 debian/patches/disable_test_random_order.patch | 16 ++++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/disable_test_random_order.patch b/debian/patches/disable_test_random_order.patch
new file mode 100644
index 0000000..96924f8
--- /dev/null
+++ b/debian/patches/disable_test_random_order.patch
@@ -0,0 +1,16 @@
+Description: deactivate test with output which might come in random order
+Author: Cédric Boutillier <boutil at debian.org>
+Bug: https://github.com/madsimian/em-redis/issues/9 
+Last-Update: 2014-09-30
+
+--- a/spec/redis_commands_spec.rb
++++ b/spec/redis_commands_spec.rb
+@@ -752,7 +752,7 @@
+     @r.smembers "user:one:interests"
+     @r.smembers "user:two:interests"
+     @r.exec do |user_interests|
+-      user_interests.should == [["second-interest", "first-interest"], ['third-interest']]
++    #  user_interests.should == [["second-interest", "first-interest"], ['third-interest']]
+     end
+     @r.mget("user:one:id", "user:two:id") do |user_ids|
+       user_ids.should == ['id-one', 'id-two']
diff --git a/debian/patches/series b/debian/patches/series
index 479dfe5..621a9ee 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 port_to_newer_redis.patch
 no_rubygems.patch
+disable_test_random_order.patch

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



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