Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
daipom committed May 29, 2024
1 parent 492f6db commit f0774ef
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/plugin/in_tail/test_position_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,13 @@
class IntailPositionFileTest < Test::Unit::TestCase
setup do
p "setup"
@file = Tempfile.new('intail_position_file_test')
@file.binmode
stub.proxy(@file).close() do
p "close called: #{@file}"
end
@file = Tempfile.new('intail_position_file_test').binmode
end

teardown do
p "teardown"
@file.close
@file.unlink
# @file.unlink
end

UNWATCHED_STR = '%016x' % Fluent::Plugin::TailInput::PositionFile::UNWATCHED_POSITION
Expand Down

0 comments on commit f0774ef

Please sign in to comment.