[前][次][番号順一覧][スレッド一覧]

ruby-changes:23378

From: naruse <ko1@a...>
Date: Mon, 23 Apr 2012 00:04:59 +0900 (JST)
Subject: [ruby-changes:23378] naruse:r35429 (trunk): Wait until the proxy stops.

naruse	2012-04-23 00:04:44 +0900 (Mon, 23 Apr 2012)

  New Revision: 35429

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35429

  Log:
    Wait until the proxy stops.

  Modified files:
    trunk/test/open-uri/test_ssl.rb

Index: test/open-uri/test_ssl.rb
===================================================================
--- test/open-uri/test_ssl.rb	(revision 35428)
+++ test/open-uri/test_ssl.rb	(revision 35429)
@@ -93,6 +93,9 @@
         sio.truncate(0); sio.rewind
       ensure
         prxy.shutdown
+        until prxy.status == :Stop
+          sleep 0.1
+        end
       end
     }
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]