-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Errno::EACCES which occurs while testing on Ruby 3.2 #3883
Commits on Sep 1, 2022
-
Move lib/fluent/plugin/file_wrapper.rb to lib/fluent
It doesn't use the name space `Fluent::Plugin`, and seems useful for global usage rather than only for plugin. Signed-off-by: Takuro Ashie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 531824a - Browse repository at this point
Copy the full SHA 531824aView commit details -
Define Fluent::FileWrapper at file_wrapper.rb even on non-Windows
Signed-off-by: Takuro Ashie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 77472a9 - Browse repository at this point
Copy the full SHA 77472a9View commit details -
Use Fluent::FileWrapper.open instead of File.open to create test files
Try to fix Errno::EACESS on deleting test files, because `FileUtils.rm_rf` of Ruby 3.2 doesn't ignore it. Signed-off-by: Takuro Ashie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e4f3db - Browse repository at this point
Copy the full SHA 2e4f3dbView commit details -
FileWrapper::WindowsFile: Support encoding parameter
Signed-off-by: Takuro Ashie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for af7972a - Browse repository at this point
Copy the full SHA af7972aView commit details -
test_log: Suppress Errno::EACCES error on Ruby 3.2
Signed-off-by: Takuro Ashie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ddf423 - Browse repository at this point
Copy the full SHA 4ddf423View commit details -
test_supervisor: Suppress Errno::EACCES error on Ruby 3.2
Signed-off-by: Takuro Ashie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c068a32 - Browse repository at this point
Copy the full SHA c068a32View commit details -
test_fluentd: Suppress Errno::EACCES error on Ruby 3.2
Signed-off-by: Takuro Ashie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f70cb60 - Browse repository at this point
Copy the full SHA f70cb60View commit details -
test_in_tail: Don't remove pos file before shutdown
It can't removed on Windows and `Errno::EACCES` isn't ignored as of Ruby 3.2. Signed-off-by: Takuro Ashie <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e34c1b - Browse repository at this point
Copy the full SHA 9e34c1bView commit details