Sha256: 35281db0822cf8eddc9dbb7b4d37188e746eef48d76ed21ef164b83d511fe933

Contents?: true

Size: 405 Bytes

Versions: 11

Compression:

Stored size: 405 Bytes

Contents

require "logstash/devutils/rspec/spec_helper"
require 'logstash/inputs/snmptrap'

describe LogStash::Inputs::Snmptrap do
  it_behaves_like "an interruptible input plugin" do
    # as there is no mocking the run method will
    # raise a connection error and put the run method
    # into the sleep retry section loop
    # meaning that the stoppable sleep impl is tested
    let(:config) { {} }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
logstash-input-snmptrap-3.0.6 spec/inputs/snmptrap_spec.rb
logstash-input-snmptrap-3.0.5 spec/inputs/snmptrap_spec.rb
logstash-input-snmptrap-3.0.4 spec/inputs/snmptrap_spec.rb
logstash-input-snmptrap-3.0.3 spec/inputs/snmptrap_spec.rb
logstash-input-snmptrap-3.0.2 spec/inputs/snmptrap_spec.rb
logstash-input-snmptrap-3.0.1 spec/inputs/snmptrap_spec.rb
logstash-input-snmptrap-3.0.0 spec/inputs/snmptrap_spec.rb
logstash-input-snmptrap-2.0.4 spec/inputs/snmptrap_spec.rb
logstash-input-snmptrap-2.0.2 spec/inputs/snmptrap_spec.rb
logstash-input-snmptrap-2.0.1 spec/inputs/snmptrap_spec.rb
logstash-input-snmptrap-2.0.0 spec/inputs/snmptrap_spec.rb