Backport(v1.16) test_out_file: fix file open mode for binary file (#4… #560
Annotations
2 errors
Run tests:
test/test_log.rb#L697
TypeError: no implicit conversion of Pathname into String
C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:104:in `initialize'
C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:104:in `new'
C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:104:in `fixup_mode'
C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:117:in `open_logfile'
C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:90:in `set_dev'
C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:62:in `block in reopen'
C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/3.3.0/monitor.rb:201:in `synchronize'
C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/3.3.0/monitor.rb:201:in `mon_synchronize'
C:/hostedtoolcache/windows/Ruby/3.3.7/x64/lib/ruby/gems/3.3.0/gems/logger-1.6.5/lib/logger/log_device.rb:57:in `reopen'
D:/a/fluentd/fluentd/lib/fluent/log.rb:749:in `reopen'
D:/a/fluentd/fluentd/lib/fluent/log.rb:239:in `reopen!'
D:/a/fluentd/fluentd/test/test_log.rb:697:in `test_reopen'
|
Run tests
Process completed with exit code 1.
|
Loading