The GitHub Actions job "Build and push images" on texera.git/main has failed.
Run started by GitHub user bobbai00 (triggered by bobbai00).

Head commit for run:
acc6dd1139d936d849e2aaa6abb288f8ef3e98ad / Martin Vu 
<[email protected]>
refactor(test): extract shared DB provisioning helper (#8457)

### What changes were proposed in this PR?

Extract the shared test database provisioning logic from
`TestUtils.initiateTexeraDBForTestCases` and
`MockTexeraDB.initializeDBAndReplaceDSLContext` into a reusable
`MockTexeraDB.createTestDatabase` helper.

The helper centralizes the creation of an isolated test database and
execution of the cached DDL script, while preserving the existing
database naming and connection/resource lifecycle behavior.

### Any related issues, documentation, discussions?

Closes #6421

### How was this PR tested?

- Ran `DAO / test` successfully.
- Ran `PauseSpec` successfully.
- Ran `ReconfigurationSpec` successfully.
- Ran `DataProcessingSpec` successfully.

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: ChatGPT (5.5 mini)

---------

Signed-off-by: Martin Vu <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to