aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/plum/client/test_client.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/plum/client/test_client.rb b/test/plum/client/test_client.rb
index 35c0638..2926f82 100644
--- a/test/plum/client/test_client.rb
+++ b/test/plum/client/test_client.rb
@@ -135,8 +135,12 @@ class ClientTest < Minitest::Test
yield plum if block_given?
- while !sock.closed? && !sock.eof?
- plum << sock.readpartial(1024)
+ begin
+ while !sock.closed? && !sock.eof?
+ plum << sock.readpartial(1024)
+ end
+ rescue Errno::ECONNABORTED
+ # Ignore, this happens only when running on mingw64(?)
end
}
rescue OpenSSL::SSL::SSLError