From 8e7e71d63e6ae48b39d56f619db6cb08764b3d71 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 28 Nov 2016 03:14:07 +0000 Subject: [PATCH] Give a chance to complete server.accept * test/net/ftp/test_ftp.rb (test_tls_connect_timeout): get rid of a test error on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/ftp/test_ftp.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb index 380b80259a..2abf734374 100644 --- a/test/net/ftp/test_ftp.rb +++ b/test/net/ftp/test_ftp.rb @@ -2120,6 +2120,7 @@ EOF open_timeout: 0.1) end ensure + sleep 0.1 # give a chance to complete server.accept sock.close if sock server.close end