Sha256: 9d1137f7c4362bfbdeba9c61fae11a424e1c1040a53ffd64bab6df3d965e6a36

Contents?: true

Size: 466 Bytes

Versions: 10

Compression:

Stored size: 466 Bytes

Contents

require "fluent/test"
require "fluent/test/helpers"
require "fluent/test/driver/input"
require "fluent/test/driver/parser"
require "pathname"

Test::Unit::TestCase.include(Fluent::Test::Helpers)

def fixtures(name)
  Pathname(__dir__).expand_path + "fixtures" + name
end

def unused_port
  s = TCPServer.open(0)
  port = s.addr[1]
  s.close
  port
end

def ipv6_enabled?
  require "socket"

  begin
    TCPServer.open("::1", 0)
    true
  rescue
    false
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fluent-plugin-grok-parser-2.6.2 test/helper.rb
fluent-plugin-grok-parser-2.6.1 test/helper.rb
fluent-plugin-grok-parser-2.6.0 test/helper.rb
fluent-plugin-grok-parser-2.5.1 test/helper.rb
fluent-plugin-grok-parser-2.5.0 test/helper.rb
fluent-plugin-grok-parser-2.4.0 test/helper.rb
fluent-plugin-grok-parser-2.3.0 test/helper.rb
fluent-plugin-grok-parser-2.2.0 test/helper.rb
fluent-plugin-grok-parser-2.1.6 test/helper.rb
fluent-plugin-grok-parser-2.1.5 test/helper.rb