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:
parent
09dd03e19f
commit
d1318e4d23
|
@ -39,7 +39,7 @@ public class VerifyVersionConstantsIT extends ESRestTestCase {
|
||||||
final Version elasticsearchVersion = Version.fromString(elasticsearchVersionString);
|
final Version elasticsearchVersion = Version.fromString(elasticsearchVersionString);
|
||||||
final String luceneVersionString = objectPath.evaluate("version.lucene_version").toString();
|
final String luceneVersionString = objectPath.evaluate("version.lucene_version").toString();
|
||||||
final org.apache.lucene.util.Version luceneVersion = org.apache.lucene.util.Version.parse(luceneVersionString);
|
final org.apache.lucene.util.Version luceneVersion = org.apache.lucene.util.Version.parse(luceneVersionString);
|
||||||
assertThat(luceneVersion, equalTo(elasticsearchVersion.luceneVersion));
|
assertThat(elasticsearchVersion.luceneVersion, equalTo(luceneVersion));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue