You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought I needed to make sure the logger on the global was not changed, but when I looked into it, other tests are also overwriting the logger on the global, so I am not sure what is correct...
-> This can cause unintended behavior depending on the test order, so we should fix this.
To Reproduce
None
Expected behavior
None
Your Environment
None
Your Configuration
None
Your Error Log
None
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Fluentd prepares a global logger with DummyLogDevice for tests.
fluentd/test/helper.rb
Lines 151 to 155 in bf7498d
However, some tests overwrite this global logger.
fluentd/test/test_logger_initializer.rb
Line 23 in bf7498d
fluentd/test/test_supervisor.rb
Lines 862 to 876 in bf7498d
fluentd/test/test_supervisor.rb
Lines 727 to 731 in bf7498d
Is this as intended?
Is this affecting other tests depending on the test order?
I was trying to fix
test_logger_initializer
in the following PR, and I found this test may affect other tests.I thought I needed to make sure the logger on the global was not changed, but when I looked into it, other tests are also overwriting the logger on the global, so I am not sure what is correct...
-> This can cause unintended behavior depending on the test order, so we should fix this.
To Reproduce
None
Expected behavior
None
Your Environment
Your Configuration
Your Error Log
Additional context
No response
The text was updated successfully, but these errors were encountered: