Skip to content

Avoid multiline check-index log messages #74303

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

Conversation

DaveCTurner
Copy link
Contributor

Today we filter out multiline log messages on Windows, preventing us
from asserting that they are emitted. This commit replaces some
multi-line log messages with multiple single-line log messages to fix
IndexShardTests#testIndexCheckOnStartup on Windows.

Relates #74233
Closes #74299

Today we filter out multiline log messages on Windows, preventing us
from asserting that they are emitted. This commit replaces some
multi-line log messages with multiple single-line log messages to fix
`IndexShardTests#testIndexCheckOnStartup` on Windows.

Relates elastic#74233
Closes elastic#74299
@DaveCTurner DaveCTurner added >bug :Distributed Indexing/Recovery Anything around constructing a new shard, either from a local or a remote source. v8.0.0 v7.14.0 labels Jun 18, 2021
@DaveCTurner DaveCTurner requested a review from tlrx June 18, 2021 12:35
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Jun 18, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@pgomulka
Copy link
Contributor

I have tested this on windows and this fixes the problem

@DaveCTurner DaveCTurner merged commit b406d1a into elastic:master Jun 18, 2021
@DaveCTurner DaveCTurner deleted the 2021-06-18-avoid-multi-line-check-index-messages branch June 18, 2021 13:21
DaveCTurner added a commit that referenced this pull request Jun 18, 2021
Today we filter out multiline log messages on Windows, preventing us
from asserting that they are emitted. This commit replaces some
multi-line log messages with multiple single-line log messages to fix
`IndexShardTests#testIndexCheckOnStartup` on Windows.

Relates #74233
Closes #74299
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed Indexing/Recovery Anything around constructing a new shard, either from a local or a remote source. Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v7.14.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IndexShardTests. testIndexCheckOnStartup logging assertion failure
5 participants