-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Fix line separator in hot threads log assertion #79363
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
Fix line separator in hot threads log assertion #79363
Conversation
`CoordinatorTests#testLogsMessagesIfPublicationDelayed` fails on Windows at an assertion about a log message which includes a `\n` character. This commit replaces that character with `System.lineSeparator()` to fix this assertion. Closes elastic#79359
Pinging @elastic/es-distributed (Team:Distributed) |
@elasticmachine test this please |
@elasticmachine run elasticsearch-ci/part-1-windows |
@elasticmachine update branch |
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
Oh this is just stupid, multiline log messages are just invisible to |
* Fix line separator in hot threads log assertion `CoordinatorTests#testLogsMessagesIfPublicationDelayed` fails on Windows at an assertion about a log message which includes a `\n` character. This commit replaces that character with `System.lineSeparator()` to fix this assertion. Closes elastic#79359 * Skip assertion entirely Co-authored-by: Elastic Machine <[email protected]>
💚 Backport successful
|
* Fix line separator in hot threads log assertion `CoordinatorTests#testLogsMessagesIfPublicationDelayed` fails on Windows at an assertion about a log message which includes a `\n` character. This commit replaces that character with `System.lineSeparator()` to fix this assertion. Closes #79359 * Skip assertion entirely Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
CoordinatorTests#testLogsMessagesIfPublicationDelayed
fails on Windowsat an assertion about a log message which includes a
\n
character.This commit replaces that character with
System.lineSeparator()
to fixthis assertion.
Closes #79359