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

fix bwc for NodeInfo, plugins and modules streaming was changed only … #15423

Merged
merged 1 commit into from
Dec 15, 2015

Conversation

brwe
Copy link
Contributor

@brwe brwe commented Dec 14, 2015

…in 2.2

see #15303

While at it, I found two more things:

  • node info does not contain os arch and name #15422, see comment in the test
  • the bwc tests still don't all pass (edit: now made a pr here: fix SnapshotBackwardsCompatibilityIT to not use wildcards with 2.0 #15453). I get a failure when I run mvn verify -Pdev -Dskip.unit.tests -pl org.elasticsearch.qa.backwards:2.0.0 -Dtests.seed=96FBCE4CB2B7B1EC -Dtests.class=org.elasticsearch.bwcompat.SnapshotBackwardsCompatibilityIT -Dtests.method="testBasicWorkflow" -Des.logger.level=DEBUG -Dtests.assertion.disabled=false -Dtests.security.manager=true -Dtests.heap.size=512m -Dtests.locale=hi_IN -Dtests.timezone=SystemV/CST6CDT but it is a different failure and seems unrelated.

I'd like to fix these two things after this is pushed.

@nik9000 nik9000 added the >test Issues or PRs that are addressing/adding tests label Dec 14, 2015
for (int i = 0; i < modules_size; i++) {
modules.add(PluginInfo.readFromStream(in));
if (in.getVersion().onOrAfter(Version.V_2_2_0)) {
int modules_size = in.readInt();
Copy link
Member

Choose a reason for hiding this comment

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

Yikes! I'm super glad we had these tests fixed!

@nik9000
Copy link
Member

nik9000 commented Dec 14, 2015

LGTM

brwe added a commit that referenced this pull request Dec 15, 2015
fix bwc for NodeInfo, plugins and modules streaming was changed only …
@brwe brwe merged commit a1e6b4b into elastic:2.x Dec 15, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants