Sha256: ab9ccf8dd7bd4096e97f847eb4fe09f84b5ea7f5ba9f1bdb6596bf9c44189134

Contents?: true

Size: 642 Bytes

Versions: 4

Compression:

Stored size: 642 Bytes

Contents

require 'test/unit'
require 'fluent/log'
require 'fluent/test'

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

# Stop non required sleep at
# https://github.com/fluent/fluentd/blob/018791f6b1b0400b71e37df2fb3ad80e456d2c11/lib/fluent/test/base.rb#L56
# module Fluent
#   module Test
#     class TestDriver
#       def run(&block)
#         @instance.start
#         begin
#           # wait until thread starts
#           # 10.times { sleep 0.05 }
#           return yield
#         ensure
#           @instance.shutdown
#         end
#       end
#     end
#   end
# end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fluent-plugin-named_pipe-0.2.0 test/helper.rb
fluent-plugin-named_pipe-0.1.2 test/helper.rb
fluent-plugin-named_pipe-0.1.1 test/helper.rb
fluent-plugin-named_pipe-0.1.0 test/helper.rb