Skip to content

Commit

Permalink
HSEARCH-4473 Run tests against Elasticsearch 7.17
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed Feb 7, 2022
1 parent e2b4c97 commit f07ecdd
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
Expand Up @@ -550,6 +550,23 @@ public void elastic_7_16_0() {
);
}

@Test
@TestForIssue(jiraKey = "HSEARCH-4473")
public void elastic_7_17() {
testSuccess(
ElasticsearchDistributionName.ELASTIC, "7.17", "7.17.0",
Elasticsearch7ModelDialect.class, Elasticsearch70ProtocolDialect.class
);
}

@Test
@TestForIssue(jiraKey = "HSEARCH-4473")
public void elastic_7_17_0() {
testSuccess(
ElasticsearchDistributionName.ELASTIC, "7.17.0", "7.17.0",
Elasticsearch7ModelDialect.class, Elasticsearch70ProtocolDialect.class
);
}

@Test
@TestForIssue(jiraKey = "HSEARCH-3563")
Expand Down
2 changes: 1 addition & 1 deletion parents/integrationtest/pom.xml
Expand Up @@ -580,7 +580,7 @@
<properties>
<test.elasticsearch.run.elastic.skip>${test.elasticsearch.run.skip}</test.elasticsearch.run.elastic.skip>
<test.elasticsearch.connection.distribution>elastic</test.elasticsearch.connection.distribution>
<test.elasticsearch.connection.version>${version.org.elasticsearch.latest-7.16}</test.elasticsearch.connection.version>
<test.elasticsearch.connection.version>${version.org.elasticsearch.latest-7.17}</test.elasticsearch.connection.version>
<test.elasticsearch.testdialect>org.hibernate.search.util.impl.integrationtest.backend.elasticsearch.dialect.Elasticsearch712TestDialect</test.elasticsearch.testdialect>
</properties>
</profile>
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Expand Up @@ -207,15 +207,16 @@
<!-- The main compatible version of Elasticsearch, advertised by default. Used in documentation links. -->
<!-- When updating the following version you will likely need to update the test profiles as well,
to make sure the corresponding profile (e.g. elasticsearch-7.12) becomes the default. -->
<version.org.elasticsearch.compatible.main>${version.org.elasticsearch.latest-7.16}</version.org.elasticsearch.compatible.main>
<version.org.elasticsearch.compatible.main>${version.org.elasticsearch.latest-7.17}</version.org.elasticsearch.compatible.main>
<documentation.org.elasticsearch.url>https://www.elastic.co/guide/en/elasticsearch/reference/${parsed-version.org.elasticsearch.compatible.main.majorVersion}.${parsed-version.org.elasticsearch.compatible.main.minorVersion}</documentation.org.elasticsearch.url>
<!-- The versions of Elasticsearch/OpenSearch advertised as compatible with Hibernate Search -->
<!-- Make sure that 7.10 stays explicitly mentioned here, because that's the last open-source version -->
<version.org.elasticsearch.compatible.regularly-tested.text>5.6, 6.8, 7.10 or 7.16</version.org.elasticsearch.compatible.regularly-tested.text>
<version.org.elasticsearch.compatible.regularly-tested.text>5.6, 6.8, 7.10 or 7.17</version.org.elasticsearch.compatible.regularly-tested.text>
<version.org.opensearch.compatible.regularly-tested.text>1.0 or 1.2</version.org.opensearch.compatible.regularly-tested.text>
<!-- The versions of Elasticsearch that may work, but are not given priority for bugfixes and new features -->
<version.org.elasticsearch.compatible.not-regularly-tested.text>6.0 or 7.0</version.org.elasticsearch.compatible.not-regularly-tested.text>
<!-- The latest micro of each Elasticsearch branch -->
<version.org.elasticsearch.latest-7.17>7.17.0</version.org.elasticsearch.latest-7.17>
<version.org.elasticsearch.latest-7.16>7.16.3</version.org.elasticsearch.latest-7.16>
<!-- 7.14 and 7.15 have annoying bugs that make almost all of our test suite fail, so we don't test them
See https://hibernate.atlassian.net/browse/HSEARCH-4340 -->
Expand Down

0 comments on commit f07ecdd

Please sign in to comment.