From fb05fffee82d651dea3706d6343e1298d7f374eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Tue, 15 Mar 2022 09:10:50 +0100 Subject: [PATCH 1/5] HSEARCH-4497 Run tests against Elasticsearch 8.0.1 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2ce96f1ec72..c8d7f361dc9 100644 --- a/pom.xml +++ b/pom.xml @@ -216,7 +216,7 @@ 6.0 or 7.0 - 8.0.0 + 8.0.1 7.17.0 7.16.3 + elasticsearch-8.0 + + + + + + + + + + elasticsearch-8.1 diff --git a/parents/integrationtest/pom.xml b/parents/integrationtest/pom.xml index 1c7fd1fc16d..73bee6f74f7 100644 --- a/parents/integrationtest/pom.xml +++ b/parents/integrationtest/pom.xml @@ -579,9 +579,20 @@ - + elasticsearch-8.0 + + ${test.elasticsearch.run.skip} + elastic + ${version.org.elasticsearch.latest-8.0} + org.hibernate.search.util.impl.integrationtest.backend.elasticsearch.dialect.Elasticsearch712TestDialect + + + + + + elasticsearch-8.1 @@ -591,7 +602,7 @@ ${test.elasticsearch.run.skip} elastic - ${version.org.elasticsearch.latest-8.0} + ${version.org.elasticsearch.latest-8.1} org.hibernate.search.util.impl.integrationtest.backend.elasticsearch.dialect.Elasticsearch712TestDialect diff --git a/pom.xml b/pom.xml index c8d7f361dc9..8bc7ce764a1 100644 --- a/pom.xml +++ b/pom.xml @@ -206,16 +206,17 @@ 8.1.0 - ${version.org.elasticsearch.latest-8.0} + to make sure the corresponding profile (e.g. elasticsearch-8.1) becomes the default. --> + ${version.org.elasticsearch.latest-8.1} https://www.elastic.co/guide/en/elasticsearch/reference/${parsed-version.org.elasticsearch.compatible.main.majorVersion}.${parsed-version.org.elasticsearch.compatible.main.minorVersion} - 5.6, 6.8, 7.10, 7.17 or 8.0 + 5.6, 6.8, 7.10, 7.17 or 8.1 1.0 or 1.2 - 6.0 or 7.0 + 7.0 or 8.0 + 8.1.0 8.0.1 7.17.0 7.16.3 From 132b5d6a9f54ba819327818999b18a9fc6a2d568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Tue, 15 Mar 2022 09:09:33 +0100 Subject: [PATCH 5/5] HSEARCH-4497 Stop testing against Elasticsearch 8.0 except on demand --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4f48a0242ae..6bdafec2760 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -256,8 +256,9 @@ stage('Configure') { condition: TestCondition.ON_DEMAND), new EsLocalBuildEnvironment(versionRange: '[7.12,8.0)', mavenProfile: 'elasticsearch-7.12', condition: TestCondition.AFTER_MERGE), + // Not testing 8.0 because we know there are problems in 8.0.1 (see https://hibernate.atlassian.net/browse/HSEARCH-4497) new EsLocalBuildEnvironment(versionRange: '[8.0,8.1)', mavenProfile: 'elasticsearch-8.0', - condition: TestCondition.AFTER_MERGE), + condition: TestCondition.ON_DEMAND), new EsLocalBuildEnvironment(versionRange: '[8.1,8.x)', mavenProfile: 'elasticsearch-8.1', condition: TestCondition.BEFORE_MERGE, isDefault: true),