The GitHub Actions job "Build" on texera.git/perf/try-remove-test-limit has 
failed.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
bd931610034afaf2e7fee4850207845d2c5f4139 / Yicong Huang 
<[email protected]>
perf(test): make MockTexeraDB a JVM singleton

Each spec that mixes in MockTexeraDB used to start its own
EmbeddedPostgres in beforeAll. Once the global Tags.limit(Tags.Test, 1)
restriction was lifted, these specs ran in parallel and collided on
the shared /tmp/embedded-pg/<binary>/ directory with an
OverlappingFileLockException at EmbeddedPostgres.prepareBinaries.

Move the EmbeddedPostgres + DSLContext fields onto a companion object,
make ensureInitialized() idempotent and synchronized, and turn
shutdownDB() into a no-op so the singleton lives for the JVM. The
trait still exposes the same methods so spec callers do not change.

Report URL: https://github.com/apache/texera/actions/runs/24949582188

With regards,
GitHub Actions via GitBox

Reply via email to