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

Tests: Add backward compatibility test for cluster state with blocks #10754

Merged
merged 1 commit into from Apr 28, 2015

Conversation

tlrx
Copy link
Member

@tlrx tlrx commented Apr 23, 2015

This commit adds a bwc test when the cluster state has blocks. It refers to #9203 (comment).

@tlrx
Copy link
Member Author

tlrx commented Apr 23, 2015

@javanna when you have time (no hurry), could you please have a look a this? Thanks :)

@tlrx tlrx assigned tlrx and javanna and unassigned tlrx Apr 23, 2015
tc.addTransportAddress(n.getNode().address());

ClusterStateResponse response = tc.admin().cluster().prepareState().setIndices("test-blocks")
.setBlocks(false).setNodes(false).execute().actionGet();
Copy link
Member

Choose a reason for hiding this comment

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

why not ask for the blocks in the cluster state call?

Copy link
Member Author

Choose a reason for hiding this comment

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

I feel stupid now, I'm not testing everything here... I updated the code.

@javanna
Copy link
Member

javanna commented Apr 23, 2015

left a small comment, looks good though, thanks a lot for taking care of this

@tlrx
Copy link
Member Author

tlrx commented Apr 27, 2015

@javanna updated, let me know what you think. Thanks.

@javanna
Copy link
Member

javanna commented Apr 28, 2015

LGTM

@tlrx tlrx merged commit 8b0674c into elastic:master Apr 28, 2015
@kevinkluge kevinkluge removed the review label Apr 28, 2015
@tlrx
Copy link
Member Author

tlrx commented Apr 28, 2015

Thanks @javanna

@tlrx tlrx deleted the bwc-blocks-serialization branch April 28, 2015 12:59
@clintongormley clintongormley added the >test Issues or PRs that are addressing/adding tests label May 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test Issues or PRs that are addressing/adding tests v1.6.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants