[DRE-commits] [ruby-em-synchrony] 02/02: run active record tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Apr 24 05:50:58 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 7a48b234e716693821b39c248a91394167ee52c1
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Apr 24 11:20:30 2014 +0530

    run active record tests
---
 debian/patches/disable-activerecord-tests.patch | 63 -------------------------
 debian/patches/series                           |  1 -
 2 files changed, 64 deletions(-)

diff --git a/debian/patches/disable-activerecord-tests.patch b/debian/patches/disable-activerecord-tests.patch
deleted file mode 100644
index ddc7f5f..0000000
--- a/debian/patches/disable-activerecord-tests.patch
+++ /dev/null
@@ -1,63 +0,0 @@
---- a/spec/activerecord_spec.rb
-+++ b/spec/activerecord_spec.rb
-@@ -26,7 +26,7 @@
-       Widget.delete_all
-   end
- 
--  it "should establish AR connection" do
-+  xit "should establish AR connection" do
-     EventMachine.synchrony do
-       establish_connection
- 
-@@ -36,7 +36,7 @@
-     end
-   end
- 
--  it "should fire sequential, synchronous requests within single fiber" do
-+  xit "should fire sequential, synchronous requests within single fiber" do
-     EventMachine.synchrony do
-       establish_connection
- 
-@@ -53,7 +53,7 @@
-     end
-   end
- 
--  it "should fire 100 requests in fibers" do
-+  xit "should fire 100 requests in fibers" do
-     EM.synchrony do
-       establish_connection
-       EM::Synchrony::FiberIterator.new(1..100, 40).each do |i|
-@@ -64,7 +64,7 @@
-     end
-   end
- 
--  it "should create widget" do
-+  xit "should create widget" do
-     EM.synchrony do
-       establish_connection
-       Widget.create
-@@ -74,7 +74,7 @@
-     end
-   end
- 
--  it "should update widget" do
-+  xit "should update widget" do
-     EM.synchrony do
-       establish_connection
-       ActiveRecord::Base.connection.execute("TRUNCATE TABLE widgets;")
-@@ -86,7 +86,7 @@
-   end
- 
-   describe "transactions" do
--    it "should work properly" do
-+    xit "should work properly" do
-       EM.synchrony do
-         establish_connection
-         EM::Synchrony::FiberIterator.new(1..50, 30).each do |i|
-@@ -106,4 +106,4 @@
-     end
-   end
- 
--end
-\ No newline at end of file
-+end
diff --git a/debian/patches/series b/debian/patches/series
index f20ee6e..a0d215f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,4 @@
 disable-hiredis-tests.patch
-disable-activerecord-tests.patch
 disable-amqp.patch
 disable-connection-pool-tests.patch
 disable-em-mongo-test.patch

-- 
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