The GitHub Actions job "CI" on pekko-connectors.git/elasticsearch-8-9-support has failed. Run started by GitHub user pjfanning (triggered by pjfanning).
Head commit for run: 39cfc58197a9bb1b1143496bdf85b65638015706 / PJ Fanning <[email protected]> Elasticsearch: stop the Scala and Java version-type tests sharing an index Motivation: The first CI run for Elasticsearch 8 and 9 support failed `ElasticsearchParameterizedTest.testUsingVersionType` on both new servers with `Unrecognized field "price"`. The Scala `ElasticsearchConnectorBehaviour` and the Java parameterized test both write to an index named `book-test-version-type` on the same server, and both write document id `1` at external version 5, so the second write loses to a version conflict and the reader sees the other suite's document. The Scala `Book` carries a `price` field the Java `Book` cannot deserialize. The race predates this change; running the behaviour suite against two more servers lost it. Modification: Renamed the Scala index to `book-test-version-type-scala`, matching the `version-test-scala` and `custom-search-params-test-scala` naming the same suite already uses for this reason. Result: The two suites no longer share an index, so neither can observe the other's documents. Tests: - `sbt "elasticsearch/Test/compile"` - success - `sbt "elasticsearch/scalafmtAll"` - success - Integration run relies on the `elasticsearch` CI job. References: Refs #1934 Report URL: https://github.com/apache/pekko-connectors/actions/runs/34357141390 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
