diff --git a/qa/verify-version-constants/src/test/java/org/elasticsearch/qa/verify_version_constants/VerifyVersionConstantsIT.java b/qa/verify-version-constants/src/test/java/org/elasticsearch/qa/verify_version_constants/VerifyVersionConstantsIT.java index 97d2d4dcc31..a26237962bf 100644 --- a/qa/verify-version-constants/src/test/java/org/elasticsearch/qa/verify_version_constants/VerifyVersionConstantsIT.java +++ b/qa/verify-version-constants/src/test/java/org/elasticsearch/qa/verify_version_constants/VerifyVersionConstantsIT.java @@ -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)); } }