aboutsummaryrefslogtreecommitdiffstats
path: root/test/open-uri
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-22 15:04:44 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-22 15:04:44 +0000
commiteab4183f14c4441275a1df398a2df6434b1bc2d2 (patch)
treea45fe04cf78a25d7bafce714fbb1cb45dba262e2 /test/open-uri
parent628d3807d2011d04cb0c8af2b1d482ae61d4c3ac (diff)
downloadruby-eab4183f14c4441275a1df398a2df6434b1bc2d2.tar.gz
Wait until the proxy stops.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/open-uri')
-rw-r--r--test/open-uri/test_ssl.rb3
1 files changed, 3 insertions, 0 deletions
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