Skip to content

Database Integration Tests : Connection Protocol

Ephrim Stanley edited this page Mar 15, 2022 · 1 revision

These are tests that exercise Legend code related to database connection creation. This includes JDBC(other) code for connection creation, database authentication etc.

Where possible these tests should make use of database/other infra that can be instantiated and run as part of the test. E.g Using TestContainers in a Junit test to spin up a SqlServer database.

For cloud databases, we have set of AWS/GCP accounts that house dedicated test databases.

In some cases, the tests might have to be run outside of Github CI/CD. For e.g a connector might make use of features that are available only in the cloud provider. In which case, we need a way to ship and run the test in the cloud. But the test needs to be triggered from Github CI/CD.

See workflows under https://github.com/finos/legend-engine/tree/master/.github/workflows