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

Ensure JavaDateMathParserTests are calling java formatters #37710

Merged
merged 4 commits into from
Jan 24, 2019

Conversation

spinscale
Copy link
Contributor

The existing JavaDateMathParserTests were using joda formatters instead
of java ones and thus the tests were not running the expected code.

This fixes the above and some follow up failures due to that.

First some round up formatter issues are fixed, especially when using
epoch dates, the parsing could be wrong and result in exceptions.

Second, some dates cannot be handled the same in java8 like in joda time
due to more strict parsing, when used in combination with epoch dates.

The existing JavaDateMathParserTests were using joda formatters instead
of java ones and thus the tests were not running the expected code.

This fixes the above and some follow up failures due to that.

First some round up formatter issues are fixed, especially when using
epoch dates, the parsing could be wrong and result in exceptions.

Second, some dates cannot be handled the same in java8 like in joda time
due to more strict parsing, when used in combination with epoch dates.
@spinscale spinscale added >non-issue :Core/Infra/Core Core issues without another label v6.7.0 labels Jan 22, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@spinscale
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/1

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@spinscale
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/1

@spinscale spinscale merged commit 8899714 into elastic:6.x Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >non-issue v6.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants