Sha256: c06999f7cedcae6f415cf62cb99e47dd2296604950af83929d0334fa3a616a09
Contents?: true
Size: 700 Bytes
Versions: 4
Compression:
Stored size: 700 Bytes
Contents
# encoding: utf-8 require_relative "../spec_helper" require "logstash/plugin" require "logstash/event" describe LogStash::Inputs::ZeroMQ, :zeromq => true do context "when register and close" do let(:plugin) { LogStash::Plugin.lookup("input", "zeromq").new({ "topology" => "pushpull" }) } it "should register and close without errors" do expect { plugin.register }.to_not raise_error expect { plugin.close }.to_not raise_error end context "when interrupting the plugin" do it_behaves_like "an interruptible input plugin" do let(:config) { { "topology" => "pushpull" } } after do subject.close end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems