From eab4183f14c4441275a1df398a2df6434b1bc2d2 Mon Sep 17 00:00:00 2001 From: naruse Date: Sun, 22 Apr 2012 15:04:44 +0000 Subject: Wait until the proxy stops. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/open-uri/test_ssl.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/open-uri') diff --git a/test/open-uri/test_ssl.rb b/test/open-uri/test_ssl.rb index 08aba39643..059465d73d 100644 --- a/test/open-uri/test_ssl.rb +++ b/test/open-uri/test_ssl.rb @@ -93,6 +93,9 @@ class TestOpenURISSL < Test::Unit::TestCase sio.truncate(0); sio.rewind ensure prxy.shutdown + until prxy.status == :Stop + sleep 0.1 + end end } end -- cgit v1.2.3