File: disable-hiredis-tests.patch

package info (click to toggle)
ruby-em-synchrony 1.0.5-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 572 kB
  • sloc: ruby: 3,458; sh: 37; sql: 7; makefile: 2
file content (52 lines) | stat: -rw-r--r-- 1,322 bytes parent folder | download | duplicates (2)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Description: Disable tests requiring hiredis adapter
 Debian specific patch
Author: Pirate Praveen <praveen@debian.org>
Last-Update: 2016-07-06

--- a/spec/hiredis_spec.rb
+++ b/spec/hiredis_spec.rb
@@ -2,7 +2,7 @@
 
 describe EM::Hiredis do
 
-  it "should connect on demand" do
+  xit "should connect on demand" do
     EventMachine.synchrony do
       connection = EM::Hiredis::Client.connect
       connection.should_not be_connected
@@ -14,7 +14,7 @@
     end
   end
 
-  it "should work with compact connect syntax" do
+  xit "should work with compact connect syntax" do
     EventMachine.synchrony do
       redis = EM::Hiredis.connect
 
@@ -25,7 +25,7 @@
     end
   end
 
-  it "should work with manual db select" do
+  xit "should work with manual db select" do
     EventMachine.synchrony do
       redis = EM::Hiredis.connect 'redis://127.0.0.1:6379'
       redis.select(0)
@@ -37,7 +37,7 @@
     end
   end
 
-  it "should get/set records synchronously" do
+  xit "should get/set records synchronously" do
     EventMachine.synchrony do
       redis = EM::Hiredis::Client.connect
 
@@ -49,7 +49,7 @@
     end
   end
 
-  it "should incr/decr key synchronously" do
+  xit "should incr/decr key synchronously" do
     EventMachine.synchrony do
       redis = EM::Hiredis::Client.connect
       redis.del('key')