File: disable_test_random_order.patch

package info (click to toggle)
ruby-em-redis 0.3.0%2Bgh-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 240 kB
  • ctags: 73
  • sloc: ruby: 1,548; makefile: 9; sh: 4
file content (16 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: deactivate test with output which might come in random order
Author: Cédric Boutillier <boutil@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']