Sha256: eaa8ce7625193027ade2242388e5fa103c829a30560a64e6c17c1d526f0fda43

Contents?: true

Size: 428 Bytes

Versions: 5

Compression:

Stored size: 428 Bytes

Contents

require 'test/unit'
require 'fileutils'
require 'fluent/log'
require 'rr'

unless defined?(Test::Unit::AssertionFailedError)
  class Test::Unit::AssertionFailedError < StandardError
  end
end

class Test::Unit::TestCase
  include RR::Adapters::TestUnit
end

def ipv6_enabled?
  require 'socket'

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

$log = Fluent::Log.new(STDOUT, Fluent::Log::LEVEL_WARN)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fluentd-0.10.38 test/helper.rb
fluentd-0.10.37 test/helper.rb
fluentd-0.10.36 test/helper.rb
fluentd-0.10.35 test/helper.rb
fluentd-0.10.34 test/helper.rb