The scope of this ticket is to spin up the postgres query database when running integration tests so that our API back end can successfully get value sets from it when executing queries.
Another consideration is to potentially reuse the DB container we're already using for the e2e's, as discussed here
Acceptance Criteria:
The integration tests should work.
GIVEN we run our integration tests locally or in CI
WHEN the tests spin up
THEN they should wait for a live connection to a database before starting.
Description:
This slack thread describes the state of the problem well: https://skylight-hq.slack.com/archives/C05BEG226RZ/p1726609799147699
The scope of this ticket is to spin up the postgres query database when running integration tests so that our API back end can successfully get value sets from it when executing queries.
Another consideration is to potentially reuse the DB container we're already using for the e2e's, as discussed here
Acceptance Criteria:
The integration tests should work.
GIVEN we run our integration tests locally or in CI
WHEN the tests spin up
THEN they should wait for a live connection to a database before starting.