Sha256: a3d32d65c8463a3a1d7b03008779e49c1223c8c4f85b7d274c7d4cdbda53b91d
Contents?: true
Size: 576 Bytes
Versions: 30
Compression:
Stored size: 576 Bytes
Contents
require 'helper' class MysqlAppenderInputTest < Test::Unit::TestCase def setup Fluent::Test.setup end def create_driver(conf=CONFIG) Fluent::Test::InputTestDriver.new(Fluent::MysqlAppenderInput).configure(conf) end def test_configure d = create_driver %[ host localhost interval 30 tag input.mysql query SELECT id, text from search_text ] assert_equal 'localhost', d.instance.host assert_equal 30, d.instance.interval assert_equal 'input.mysql', d.instance.tag end end
Version data entries
30 entries across 30 versions & 1 rubygems