ruby-changes:23395
From: naruse <ko1@a...>
Date: Mon, 23 Apr 2012 23:06:00 +0900 (JST)
Subject: [ruby-changes:23395] naruse:r35446 (trunk): Wait until the server stops.
naruse 2012-04-23 23:05:49 +0900 (Mon, 23 Apr 2012) New Revision: 35446 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35446 Log: Wait until the server stops. Modified files: trunk/test/open-uri/test_ssl.rb Index: test/open-uri/test_ssl.rb =================================================================== --- test/open-uri/test_ssl.rb (revision 35445) +++ test/open-uri/test_ssl.rb (revision 35446) @@ -35,6 +35,9 @@ yield srv, dr, "https://#{host}:#{port}" ensure srv.shutdown + until srv.status == :Stop + sleep 0.1 + end end } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/