Sha256: 42aa23085ee7aa456d00e69b7889811508b865d4b62c9ce32c735ea0610ab8cf

Contents?: true

Size: 611 Bytes

Versions: 3

Compression:

Stored size: 611 Bytes

Contents

require 'helper'

class SecureForwardOutputTest < Test::Unit::TestCase
  CONFIG = %[
]

  def create_driver(conf=CONFIG,tag='test')
    Fluent::Test::OutputTestDriver.new(Fluent::SecureForwardOutput, tag).configure(conf)
  end

  def test_configure_secondary
    p1 = nil
    assert_nothing_raised { p1 = create_driver(<<CONFIG).instance }
  type secure_forward
  shared_key secret_string
  self_hostname client.fqdn.local
  <server>
    host server.fqdn.local  # or IP
    # port 24284
  </server>
  <secondary>
    type forward
    <server>
      host localhost
    </server>
  </secondary>
CONFIG
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fluent-plugin-secure-forward-0.2.2 test/plugin/test_out_secure_forward.rb
fluent-plugin-secure-forward-0.2.1 test/plugin/test_out_secure_forward.rb
fluent-plugin-secure-forward-0.2.0 test/plugin/test_out_secure_forward.rb