[DRE-commits] [ruby-faraday] 11/12: Sleep 10s between ruby 2.0 and 2.1 tests

Sebastien Badia sbadia-guest at moszumanska.debian.org
Mon Apr 14 07:32:04 UTC 2014


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

sbadia-guest pushed a commit to branch master
in repository ruby-faraday.

commit 09982f923db392656537219bb75851a41ac1771d
Author: Sebastien Badia <seb at sebian.fr>
Date:   Sun Apr 13 22:55:21 2014 +0200

    Sleep 10s between ruby 2.0 and 2.1 tests
    
    Server shutdown is trap by init/term, but during the test process, the
    server has some connection in close/wait state causing the second test fail
    with this error message. « aborted: another instance of server running on 3999 »
---
 debian/ruby-tests.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index e05fbc3..bb83324 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,4 +1,4 @@
-exec("script/test logger net_http_persistent net_http_test patron rack test_middleware excon")
+exec("sleep 10;script/test logger net_http_persistent net_http_test patron rack test_middleware excon")
 
 # uncomment this when all tests can be run
 #exec("script/test")

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



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