-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Attempt to fix o.o.transport.netty4.OpenSearchLoggingHandlerIT fails w/ stack overflow by hardening test expectation patterns #1900
Conversation
…w/ stack overflow by hardening test expectation patterns Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
+ ", request id: \\d+" | ||
+ ", type: request" | ||
+ ", version: .*" |
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.
Making regexes more strict and constrained.
Can one of the admins verify this patch? |
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.
LGTM. Thanks for digging into this stackOverflow. It's an elusive one and hard to repro.
Thanks @nknize , I will keep an eye on it, in case it pops up again, really nasty one |
…st failure (opensearch-project#1900) Attempt to fix o.o.transport.netty4.OpenSearchLoggingHandlerIT fails w/ stack overflow by hardening test expectation patterns in regex patterns Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Andriy Redko andriy.redko@aiven.io
Description
Attempt to fix
o.o.transport.netty4.OpenSearchLoggingHandlerIT
fails w/ stack overflow by hardening test expectation patterns. I was not able to reproduce the issue locally but suspects are:Log4j
(specific message) and our ownMockLogAppender.LoggingExpectation
. At least, if the issue continues to manifest, we should be able to excludeMockLogAppender.LoggingExpectation
from suspects.Issues Resolved
Possibly closes #1767
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.