$LOAD_PATH.unshift(File.expand_path("../../", __FILE__)) require "test-unit" require "fluent/test" require "fluent/test/driver/input" require "fluent/test/helpers" Test::Unit::TestCase.include(Fluent::Test::Helpers) Test::Unit::TestCase.extend(Fluent::Test::Helpers) require "sidekiq" Sidekiq.configure_client do |config| config.redis = {url: ENV["REDIS_URL"]} end require_relative "./job"