-
Notifications
You must be signed in to change notification settings - Fork 181
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
HttpMessageDiscardWatchdogServiceFilterTest.warnsIfDiscarded test failure #2756
Comments
Here is the failed assertion: https://github.com/apple/servicetalk/blob/main/servicetalk-http-netty/src/test/java/io/servicetalk/http/netty/HttpMessageDiscardWatchdogServiceFilterTest.java#L95 It looks like we give the test 1 second to accumulate logs. |
Closed via #2757. |
Adding the entire log output so we can more easily debug when it fails again: #2762 |
A hit on the test again which spilled the logs:
If I had to bet on it, the tests may be running concurrently with other tests that use the same tooling. |
There are probably a few ways we can adjust the If we want to preserve the API we can also try to make the state thread-local. It seems the key is registration and deregistration of a logger. We can probably give it name based on the local environment without changing the API. |
We don't know for sure that the changes in #2771 fixed this so it wouldn't be a huge surprise if this pops again. |
Popped again: https://github.com/apple/servicetalk/actions/runs/7451782820/job/20273613156#step:7:1898
From the test it looks like the only log message is the flush entry. |
@bryce-anderson hm, so it looks like the LoggerStringWriter was not the issue here... 🤔 |
A few more cases with enhanced logging: https://github.com/apple/servicetalk/runs/21828666352
https://github.com/apple/servicetalk/runs/21835835925
|
https://github.com/apple/servicetalk/runs/21838036035
|
https://github.com/apple/servicetalk/actions/runs/6848710363/job/18619420912#step:7:1529
The text was updated successfully, but these errors were encountered: