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

Enable CronEvalToolTest.testEnsureDateIsShownInRootLocale #38394

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

pgomulka
Copy link
Contributor

@pgomulka pgomulka commented Feb 5, 2019

The test is now expected to be always passing no matter what the random
locale is. This is fixed with using jdk ZoneId.systemDefault() in both
the test and CronEvalTool

closes #35687

The test is now expected to be always passing no matter what the random
locale is. This is fixed with using jdk ZoneId.systemDefault() in both
the test and CronEvalTool

closes elastic#35687
@pgomulka pgomulka added >test Issues or PRs that are addressing/adding tests :Data Management/Watcher labels Feb 5, 2019
@pgomulka pgomulka self-assigned this Feb 5, 2019
@pgomulka pgomulka requested a review from astefan February 5, 2019 08:15
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

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

It seems you only removed the @AwaitsFix annotation..., or I'm missing something.

@pgomulka
Copy link
Contributor Author

pgomulka commented Feb 5, 2019

@astefan I have merged a PR where watcher module was refactored to use java-time instead of joda.time.

@pgomulka
Copy link
Contributor Author

pgomulka commented Feb 5, 2019

@elasticmachine run elasticsearch-ci/2

@astefan
Copy link
Contributor

astefan commented Feb 5, 2019

@pgomulka apologies, but then I don't see the point of this PR... maybe refer the other PR in this one, so that I know which other PR you are talking about?

@pgomulka
Copy link
Contributor Author

pgomulka commented Feb 5, 2019

@astefan sorry for not being clear about this, in this PR #35809 the watcher plugin was refactored to use java-time.
Both the test and the CronEvalTool are using ZoneId.systemDefault now

@pgomulka
Copy link
Contributor Author

pgomulka commented Feb 5, 2019

@elasticmachine run elasticsearch-ci/2

@pgomulka pgomulka merged commit df4eb04 into elastic:master Feb 5, 2019
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Feb 5, 2019
* master: (23 commits)
  Lift retention lease expiration to index shard (elastic#38380)
  Make Ccr recovery file chunk size configurable (elastic#38370)
  Prevent CCR recovery from missing documents (elastic#38237)
  re-enables awaitsfixed datemath tests (elastic#38376)
  Types removal fix FullClusterRestartIT warnings (elastic#38445)
  Make sure to reject mappings with type _doc when include_type_name is false. (elastic#38270)
  Updates the grok patterns to be consistent with logstash (elastic#27181)
  Ignore type-removal warnings in XPackRestTestHelper (elastic#38431)
  testHlrcFromXContent() should respect assertToXContentEquivalence() (elastic#38232)
  add basic REST test for geohash_grid (elastic#37996)
  Remove DiscoveryPlugin#getDiscoveryTypes (elastic#38414)
  Fix the clock resolution to millis in GetWatchResponseTests (elastic#38405)
  Throw AssertionError when no master (elastic#38432)
  `if_seq_no` and `if_primary_term` parameters aren't wired correctly in REST Client's CRUD API (elastic#38411)
  Enable CronEvalToolTest.testEnsureDateIsShownInRootLocale (elastic#38394)
  Fix failures in BulkProcessorIT#testGlobalParametersAndBulkProcessor. (elastic#38129)
  SQL: Implement CURRENT_DATE (elastic#38175)
  Mute testReadRequestsReturnLatestMappingVersion (elastic#38438)
  [ML] Report index unavailable instead of waiting for lazy node (elastic#38423)
  Update Rollup Caps to allow unknown fields (elastic#38339)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Watcher >test Issues or PRs that are addressing/adding tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] CronEvalToolTests testEnsureDateIsShownInRootLocale sometimes fails
3 participants