[DRE-commits] [ruby-em-synchrony] 03/03: enable all redis tests except failing auth test

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Apr 23 16:28:02 UTC 2014


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

praveen pushed a commit to branch master
in repository ruby-em-synchrony.

commit ece2c71c12c855413daee5ac2119cfd3c44d80fa
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Apr 23 21:39:54 2014 +0530

    enable all redis tests except failing auth test
---
 debian/patches/disable-redis-auth.test   | 18 +++++++
 debian/patches/disable-redis-tests.patch | 81 --------------------------------
 debian/patches/series                    |  2 +-
 3 files changed, 19 insertions(+), 82 deletions(-)

diff --git a/debian/patches/disable-redis-auth.test b/debian/patches/disable-redis-auth.test
new file mode 100644
index 0000000..45c2ee5
--- /dev/null
+++ b/debian/patches/disable-redis-auth.test
@@ -0,0 +1,18 @@
+--- a/spec/redis_spec.rb
++++ b/spec/redis_spec.rb
+@@ -90,7 +90,7 @@
+     end
+   end
+ 
+-  it "should execute sync add and auth" do
++  xit "should execute sync add and auth" do
+     EventMachine.synchrony do
+       redis = EM::Protocols::Redis.connect
+       redis.auth('abc')
+@@ -102,4 +102,4 @@
+       EM.stop
+     end
+   end
+-end
+\ No newline at end of file
++end
diff --git a/debian/patches/disable-redis-tests.patch b/debian/patches/disable-redis-tests.patch
deleted file mode 100644
index ff330ec..0000000
--- a/debian/patches/disable-redis-tests.patch
+++ /dev/null
@@ -1,81 +0,0 @@
---- a/spec/redis_spec.rb
-+++ b/spec/redis_spec.rb
-@@ -2,7 +2,7 @@
- 
- describe EM::Protocols::Redis do
- 
--  it "should yield until connection is ready" do
-+  xit "should yield until connection is ready" do
-     EventMachine.synchrony do
-       connection = EM::Protocols::Redis.connect
-       connection.connected.should be_true
-@@ -11,7 +11,7 @@
-     end
-   end
- 
--  it "should get/set records synchronously" do
-+  xit "should get/set records synchronously" do
-     EventMachine.synchrony do
-       redis = EM::Protocols::Redis.connect
- 
-@@ -23,7 +23,7 @@
-     end
-   end
- 
--  it "should mapped_mget synchronously" do
-+  xit "should mapped_mget synchronously" do
-     EventMachine.synchrony do
-       redis = EM::Protocols::Redis.connect
- 
-@@ -36,7 +36,7 @@
-     end
-   end
- 
--  it "should incr/decr key synchronously" do
-+  xit "should incr/decr key synchronously" do
-     EventMachine.synchrony do
-       redis = EM::Protocols::Redis.connect
-       redis.delete('key')
-@@ -51,7 +51,7 @@
-     end
-   end
- 
--  it "should execute async commands" do
-+ xit "should execute async commands" do
-     EventMachine.synchrony do
-       redis = EM::Protocols::Redis.connect
-       redis.set('a', 'foobar')
-@@ -62,7 +62,7 @@
-     end
-   end
- 
--  it "should execute async set add" do
-+  xit "should execute async set add" do
-     EventMachine.synchrony do
-       redis = EM::Protocols::Redis.connect
- 
-@@ -77,7 +77,7 @@
-     end
-   end
- 
--  it "should execute async mapped_mget" do
-+  xit "should execute async mapped_mget" do
-     EventMachine.synchrony do
-       redis = EM::Protocols::Redis.connect
- 
-@@ -90,7 +90,7 @@
-     end
-   end
- 
--  it "should execute sync add and auth" do
-+  xit "should execute sync add and auth" do
-     EventMachine.synchrony do
-       redis = EM::Protocols::Redis.connect
-       redis.auth('abc')
-@@ -102,4 +102,4 @@
-       EM.stop
-     end
-   end
--end
-\ No newline at end of file
-+end
diff --git a/debian/patches/series b/debian/patches/series
index 8edf3a6..56997f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
-disable-redis-tests.patch
 disable-hiredis-tests.patch
 disable-activerecord-tests.patch
 disable-amqp.patch
@@ -10,3 +9,4 @@ disable-mongo-tests.patch
 disable-remcached-tests.patch
 disable-synchrony-failing-test.patch
 disable-network-tests.patch
+disable-redis-auth.test

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



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