Skip to content
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 separators in JSON logging tests #38771

Merged

Conversation

pgomulka
Copy link
Contributor

@pgomulka pgomulka commented Feb 12, 2019

The hardcoded '\n' in string will not work in Windows where there is a
different line separator. A System.lineSeparator should be used to make
it work on all platforms
closes #38705

The hardcoded '\n' in string will not work in Windows where there is a
different line separator. A System.lineSeparator should be used to make
it work on all platforms
@pgomulka pgomulka changed the title Test/json throwable pattern converter tests Fix line separators in JSON logging tests Feb 12, 2019
@pgomulka pgomulka self-assigned this Feb 12, 2019
@pgomulka pgomulka requested a review from alpar-t February 12, 2019 10:54
@pgomulka pgomulka added >test-failure Triaged test failures from CI :Core/Infra/Logging Log management and logging utilities v7.0.0 v8.0.0 v7.2.0 labels Feb 12, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Contributor

@alpar-t alpar-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pgomulka pgomulka merged commit 782eb0a into elastic:master Feb 12, 2019
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Feb 13, 2019
* master:
  Remove _type term filters from cluster alert watches (elastic#38819)
  Adjust log and unmute testFailOverOnFollower (elastic#38762)
  Fix line separators in JSON logging tests (elastic#38771)
  Fix synchronization in LocalCheckpointTracker#contains (elastic#38755)
  muted test
  Remove TLSv1.2 pinning in ssl reload tests (elastic#38651)
  Don't fail init script if `/proc/.../max_map_count` absent (elastic#35933)
  Format Watcher.status.lastChecked and lastMetCondition (elastic#38626)
  SQL: Implement `::` cast operator (elastic#38774)
  Ignore failing test
pgomulka added a commit to pgomulka/elasticsearch that referenced this pull request Feb 13, 2019
The hardcoded '\n' in string will not work in Windows where there is a
different line separator. A System.lineSeparator should be used to make
it work on all platforms
closes elastic#38705
pgomulka added a commit to pgomulka/elasticsearch that referenced this pull request Feb 13, 2019
The hardcoded '\n' in string will not work in Windows where there is a
different line separator. A System.lineSeparator should be used to make
it work on all platforms
closes elastic#38705
pgomulka added a commit that referenced this pull request Feb 13, 2019
The hardcoded '\n' in string will not work in Windows where there is a
different line separator. A System.lineSeparator should be used to make
it work on all platforms
closes #38705 
backport #38771
pgomulka added a commit that referenced this pull request Feb 13, 2019
The hardcoded '\n' in string will not work in Windows where there is a
different line separator. A System.lineSeparator should be used to make
it work on all platforms
closes #38705 
backport #38771
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Logging Log management and logging utilities >test-failure Triaged test failures from CI v7.0.0-rc1 v7.2.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing JsonThrowablePatternConverterTests.testStacktraceWithJson
5 participants