Skip to content

Commit

Permalink
Omit in_tail's truncated related test on Windows temporarily. ref flu…
Browse files Browse the repository at this point in the history
  • Loading branch information
repeatedly authored and Yuki Ito committed Dec 21, 2017
1 parent e58ca28 commit f217b41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/plugin/test_in_tail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,8 @@ def sub_test_rotate_file(config = nil, expect_emits: nil, expect_records: nil, t
end

def test_truncate_file
omit "Permission denied error happen on Windows. Need fix" if Fluent.windows?

config = SINGLE_LINE_CONFIG
File.open("#{TMP_DIR}/tail.txt", "wb") {|f|
f.puts "test1"
Expand Down Expand Up @@ -501,6 +503,8 @@ def test_truncate_file
end

def test_move_truncate_move_back
omit "Permission denied error happen on Windows. Need fix" if Fluent.windows?

config = SINGLE_LINE_CONFIG
File.open("#{TMP_DIR}/tail.txt", "wb") {|f|
f.puts "test1"
Expand Down

0 comments on commit f217b41

Please sign in to comment.