From d1318e4d2386477444bfccbbe2232b0f805b6b27 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Sat, 27 May 2017 18:31:44 -0400 Subject: [PATCH] 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. --- .../qa/verify_version_constants/VerifyVersionConstantsIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }