Skip to content

Reinstate "Update RareClusterStateIT to work with ... (#87922)"#91272

Merged
DaveCTurner merged 3 commits intoelastic:mainfrom
DaveCTurner:2022-11-03-reinstate-87922
Nov 3, 2022
Merged

Reinstate "Update RareClusterStateIT to work with ... (#87922)"#91272
DaveCTurner merged 3 commits intoelastic:mainfrom
DaveCTurner:2022-11-03-reinstate-87922

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

Reverts #90720 and adds some additional logging to further investigate the failure here.

Relates #87922

Reverts elastic#90720 and adds some additional logging to further investigate
the failure here.

Relates elastic#87922
@DaveCTurner DaveCTurner added >test Issues or PRs that are addressing/adding tests :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v8.6.0 labels Nov 3, 2022
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Nov 3, 2022
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

+ "]";
assertEquals("[null,null]", results);
assertFalse(putMappingResponse.isDone());
assertFalse(docIndexResponse.isDone());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks like there is no way with hamcrest to combine multiple assertions on different objects into one.
Looks like another reason to use assertj: https://stackoverflow.com/questions/47397525/multiply-conditions-set-in-assertj-assertions

@pxsalehi
Copy link
Copy Markdown
Member

pxsalehi commented Nov 3, 2022

This seems to still fail (at least for me): https://gradle-enterprise.elastic.co/s/hs6e6lwwd6kou

@DaveCTurner
Copy link
Copy Markdown
Member Author

How about now (after dc638d9) @pxsalehi?

IMO the failing assertion is kinda bogus anyway, it doesn't really matter if the put-mapping request has completed or not as long as the indexing request is still outstanding.

@pxsalehi
Copy link
Copy Markdown
Member

pxsalehi commented Nov 3, 2022

How about now (after dc638d9) @pxsalehi?

Not anymore! 😃 🎉
https://gradle-enterprise.elastic.co/s/lhvvwt4xtntdq

@DaveCTurner DaveCTurner merged commit c6630ac into elastic:main Nov 3, 2022
@DaveCTurner DaveCTurner deleted the 2022-11-03-reinstate-87922 branch November 3, 2022 14:37
@DaveCTurner
Copy link
Copy Markdown
Member Author

Great, thanks for checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. Team:Distributed Meta label for distributed team. >test Issues or PRs that are addressing/adding tests v8.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants