spec/lumberjack/beats/client_spec.rb in logstash-input-beats-2.2.5 vs spec/lumberjack/beats/client_spec.rb in logstash-input-beats-2.2.7

- old
+ new

@@ -9,10 +9,10 @@ require "openssl" require "zlib" describe Lumberjack::Beats::Client do describe Lumberjack::Beats::Socket do - let(:port) { 5000 } + let(:port) { Flores::Random.port } subject(:socket) { Lumberjack::Beats::Socket.new(:port => port, :ssl_certificate => "" ) } before do allow_any_instance_of(Lumberjack::Beats::Socket).to receive(:connection_start).and_return(true)