-
Notifications
You must be signed in to change notification settings - Fork 636
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
test: increase logs max-size #3259
Conversation
LGTM. This is going to help.
Can we fix it ^? Can you point to it in the codebase? Thanks a lot @xyz-li ! This one has been driving me bonkers. |
I don't think we can. As the max-size is too small and container output logs too quickly. There will always exist this situation. |
Signed-off-by: xyz-li <hui0787411@163.com>
I have decreased the |
thanks for the investigation guys LGTM. @xyz-li is it possible to introduce more accurate behavior in this PR #3200 like a retry mechanism before returning error from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Fix: #3225
I think max-size is too small and log output is too quicklly. There is one situation, nerdctl rotate the logfile, then os.OpenFile will return an error. At last this test will fail.