The GitHub Actions job "Update Dependency Graph" on pekko-connectors.git/main 
has failed.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
d7c2df39a6eff87fa37b940ae24a79199856cbfd / PJ Fanning 
<[email protected]>
Elasticsearch: test Opensearch against 2.x and 3.x (#1933)

* Elasticsearch: test Opensearch against 2.x and 3.x

Motivation:
The Opensearch integration tests only ran against Opensearch 1.3.20.
The 1.x line is end-of-life (1.3.20 was its final release, May 2025), so
the connector had no coverage against any currently supported Opensearch.

Modification:
Replaced the `opensearch1` compose service with `opensearch2`
(2.19.6, port 9203) and `opensearch3` (3.8.0, port 9204), both with the
demo security config disabled and a 512m heap so the extra node does not
grow the CI footprint. Updated the elasticsearch CI pre_cmd to start
both. Turned `OpensearchV1Spec` into an abstract `OpensearchSpec` taking
the base URL, with `Opensearch2Spec` and `Opensearch3Spec` running the
whole spec against each server, and added port 9204 to
`OpensearchParameterizedTest`.

Result:
The Opensearch connector is exercised against both supported Opensearch
major lines instead of an end-of-life one. `OpensearchApiVersion.V1`
remains the only API version - 2.x and 3.x keep the Elasticsearch 7.x
compatible bulk and search API that it targets.

Tests:
- `sbt "elasticsearch/Test/compile"` - success
- `sbt "elasticsearch/scalafmtAll" "elasticsearch/javafmtAll"` - success
- Integration run not done locally: the containers start but this machine
  cannot run the suite; relying on the `elasticsearch` CI job.

References:
None - keeping test dependencies on supported versions

* fix build

* Elasticsearch: bump test server to 7.17.29

Motivation:
The Elasticsearch 7 test server was pinned to 7.17.28, one patch behind
the latest 7.17 release.

Modification:
Bumped the `elasticsearch7` compose service to 7.17.29.

Result:
The connector is tested against the current 7.17 patch. `elasticsearch6`
stays on 6.8.23, which is the final 6.8 release. The test servers cannot
move to 8.x or 9.x without a new `ApiVersion`: those removed the mapping
types that `ApiVersion.V5` depends on.

Tests:
- `sbt "elasticsearch/Test/compile"` - success
- Integration run relies on the `elasticsearch` CI job.

References:
Refs #1933

Report URL: https://github.com/apache/pekko-connectors/actions/runs/35322409797

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to