diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -20,7 +20,7 @@ def next_available_tcp_port
     $current_tcp_port += 1
 
     begin
-      sock = Timeout.timeout(0.1) { TCPSocket.new("localhost", $current_tcp_port) }
+      sock = Timeout.timeout(1) { TCPSocket.new("localhost", $current_tcp_port) }
     rescue Errno::ECONNREFUSED
       break $current_tcp_port
     end
specs: Increase sanity timeout on port connect test

It actually failed in practice on JRuby:

<URL>