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 IndexActionTests and WatcherIndexingListenerTests #38738

Conversation

pgomulka
Copy link
Contributor

fix tests to use clock in milliseconds precision in watcher code
make sure the date comparison in string format is using same formatters
some of the code was modified in #38514 possibly because of merge conflicts

closes #38581

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@@ -101,7 +102,7 @@ void setConfiguration(Configuration configuration) {
@Override
public Engine.Index preIndex(ShardId shardId, Engine.Index operation) {
if (isWatchDocument(shardId.getIndexName(), operation.type())) {
ZonedDateTime now = clock.instant().atZone(ZoneOffset.UTC);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was modified in #38514 . possibly in a merge conflict

Copy link
Contributor

@jimczi jimczi 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 980f8df into elastic:master Feb 12, 2019
pgomulka added a commit to pgomulka/elasticsearch that referenced this pull request Feb 12, 2019
fix tests to use clock in milliseconds precision in watcher code
make sure the date comparison in string format is using same formatters
some of the code was modified in elastic#38514 possibly because of merge conflicts

closes elastic#38581
pgomulka added a commit to pgomulka/elasticsearch that referenced this pull request Feb 12, 2019
fix tests to use clock in milliseconds precision in watcher code
make sure the date comparison in string format is using same formatters
some of the code was modified in elastic#38514 possibly because of merge conflicts

closes elastic#38581
pgomulka added a commit that referenced this pull request Feb 12, 2019


fix tests to use clock in milliseconds precision in watcher code
make sure the date comparison in string format is using same formatters
some of the code was modified in #38514 possibly because of merge conflicts

closes #38581
Backport #38738
pgomulka added a commit that referenced this pull request Feb 12, 2019


fix tests to use clock in milliseconds precision in watcher code
make sure the date comparison in string format is using same formatters
some of the code was modified in #38514 possibly because of merge conflicts

closes #38581
Backport #38738
@michaelbaamonde michaelbaamonde added v7.0.0-rc1 >test Issues or PRs that are addressing/adding tests and removed v7.0.0 labels Mar 25, 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 :Data Management/Watcher >test Issues or PRs that are addressing/adding tests v7.2.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] IndexActionTests.testIndexActionExecuteSingleDoc Fails
5 participants