File: disable-amqp.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 (79 lines) | stat: -rw-r--r-- 2,247 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Description: Disable tests requiring amqp service
 Debian specific patch
Author: Pirate Praveen <praveen@debian.org>
Last-Update: 2016-07-06

--- a/spec/amqp_spec.rb
+++ b/spec/amqp_spec.rb
@@ -2,7 +2,7 @@
 
 describe EM::Synchrony::AMQP do
 
-  it "should yield until connection is ready" do
+  xit "should yield until connection is ready" do
     EM.synchrony do
       connection = EM::Synchrony::AMQP.connect
       connection.connected?.should eq(true)
@@ -10,7 +10,7 @@
     end
   end
 
-  it "should yield until disconnection is complete" do
+  xit "should yield until disconnection is complete" do
     EM.synchrony do
       connection = EM::Synchrony::AMQP.connect
       connection.disconnect
@@ -19,7 +19,7 @@
     end
   end
 
-  it "should yield until the channel is created" do
+  xit "should yield until the channel is created" do
     EM.synchrony do
       connection = EM::Synchrony::AMQP.connect
       channel = EM::Synchrony::AMQP::Channel.new(connection)
@@ -28,7 +28,7 @@
     end
   end
 
-  it "should yield until the queue is created" do
+  xit "should yield until the queue is created" do
     EM.synchrony do
       connection = EM::Synchrony::AMQP.connect
       channel = EM::Synchrony::AMQP::Channel.new(connection)
@@ -37,7 +37,7 @@
     end
   end
 
-  it "should yield when a queue is created from a channel" do
+  xit "should yield when a queue is created from a channel" do
     EM.synchrony do
       connection = EM::Synchrony::AMQP.connect
       channel = EM::Synchrony::AMQP::Channel.new(connection)
@@ -46,7 +46,7 @@
     end
   end
 
-  it "should yield until the exchange is created" do
+  xit "should yield until the exchange is created" do
     EM.synchrony do
       connection = EM::Synchrony::AMQP.connect
       channel = EM::Synchrony::AMQP::Channel.new(connection)
@@ -65,7 +65,7 @@
     end
   end
 
-  it "should publish and receive messages" do
+  xit "should publish and receive messages" do
     nb_msg = 10
     EM.synchrony do
       connection = EM::Synchrony::AMQP.connect
@@ -102,7 +102,7 @@
     end
   end
 
-  it "should handle several consumers" do
+  xit "should handle several consumers" do
     nb_msg = 10
     EM.synchrony do
       connection = EM::Synchrony::AMQP.connect