Skip to content

Commit 2a404f1

Browse files
committed
improve tests
1 parent a877c9f commit 2a404f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/outputs/tcp_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
let(:config) { super().merge("host" => "127.0.0.1") }
277277
it 'closes the connection' do
278278
thread = Thread.start do
279-
sleep 0.1
279+
sleep 0.25
280280
expect { subject.connect }.to raise_error(OpenSSL::SSL::SSLError, /hostname "127.0.0.1" does not match the server certificate/)
281281
end
282282
socket = secure_server.accept

0 commit comments

Comments
 (0)