Skip to content

Conversation

@mark-vieira
Copy link
Contributor

Final follow up to #59322 to port these changes finally into master.

This commit adds compatibility testing of our JDBC driver against
different Elasticsearch versions. Although we are really testing the
forwards compatibility nature of the JDBC driver we model the testing
the same as we do existing BWC tests, that is, with the current branch
fetching the earlier versions of the artifact that is to be tested. In
this case, that's the JDBC driver itself.

Because the tests include the JDBC driver jar on it's classpath we had
to change the packaging of the driver jar in order to avoid jarhell and
other conflicting dependency issues when using an old JDBC driver with
later branches. For this we simply relocate all driver dependencies in
the shadow jar under a "shadowed" package. This allows the JDBC driver
to use the correct version of Elasticsearch libs classes, while the
tests themselves use their versions. Since this required a change to the
driver jar compatibility testing can only go back as far as that version
which at the time of this commit is 7.8.1.
@mark-vieira mark-vieira added :Delivery/Build Build or test infrastructure :Analytics/SQL SQL querying backport labels Jul 29, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (:Query Languages/SQL)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Build)

@elasticmachine elasticmachine added Team:QL (Deprecated) Meta label for query languages team Team:Core/Infra Meta label for core/infra team labels Jul 29, 2020
@mark-vieira mark-vieira merged commit d17c8cf into elastic:master Jul 29, 2020
@mark-vieira mark-vieira added Team:Delivery Meta label for Delivery team and removed Team:Core/Infra Meta label for core/infra team labels Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/SQL SQL querying backport :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team Team:QL (Deprecated) Meta label for query languages team v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants