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.
@@ -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));
}
}
