The GitHub Actions job "Validate and test" on 
pekko-persistence-r2dbc.git/persistence-journal-batching has failed.
Run started by GitHub user minjibir (triggered by minjibir).

Head commit for run:
d3a3b482bf15829d7be9e9d82aead68156abc8c0 / Jabir Minjibir 
<[email protected]>
fix: skip batched journal specs on unsupported dialects (#471)

Motivation:
The batched journal requires the postgres or yugabyte dialect, but
the MySQL CI job runs all core tests. The suites would fail at
journal startup with the dialect require. Two specs create the
journal in the class body, failing during suite construction.

Modification:
- Add a BatchedJournalDialectGate trait that pends tests when the
  configured dialect is mysql, and mix it into all batched journal
  suites except R2dbcBatchJournalMysqlDialectSpec, which expects the
  dialect require.
- Make the test journal fields lazy so the dialect require can not
  fail during suite construction.

Result:
The batched journal suites run on postgres and yugabyte and pend on
the mysql CI job.

Tests:
- sbt "core/Test/testOnly 
org.apache.pekko.persistence.r2dbc.journal.R2dbcBatchJournal*" (75 tests, live 
PostgreSQL)
- sbt "++3.3.8 core/Test/compile"
- sbt +headerCheckAll
- scalafmt --mode diff-ref=origin/main

References:
Refs #471

Report URL: 
https://github.com/apache/pekko-persistence-r2dbc/actions/runs/34634685806

With regards,
GitHub Actions via GitBox


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

Reply via email to