Fix Lucene version expectation

The Lucene version expectation in the verify Lucene version test is
backwards, mixing up the expected and actual values. This commit
reorders them to fix this issue.
This commit is contained in:
Jason Tedor 2017-05-27 18:31:44 -04:00
parent 09dd03e19f
commit d1318e4d23
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class VerifyVersionConstantsIT extends ESRestTestCase {
final Version elasticsearchVersion = Version.fromString(elasticsearchVersionString);
final String luceneVersionString = objectPath.evaluate("version.lucene_version").toString();
final org.apache.lucene.util.Version luceneVersion = org.apache.lucene.util.Version.parse(luceneVersionString);
assertThat(luceneVersion, equalTo(elasticsearchVersion.luceneVersion));
assertThat(elasticsearchVersion.luceneVersion, equalTo(luceneVersion));
}
}