Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated int test README file #154

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

andamian
Copy link
Contributor

No description provided.

caom2-datalink-server/build.gradle Outdated Show resolved Hide resolved
argus/build.gradle Outdated Show resolved Hide resolved
- `haproxy` (image: `cadc-haproxy-dev`) - for https termination
- `postgress` (`cadc-postgresql-dev`) - database container
- `reg` (`reg`) - local registry entries
- `icewind` (`icewind`) - to create the `caom2` schema and tables
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technically, one can use icewind to create the caom2 tables and add some content OR deploy torkeep to just create the tables

I do not recall if the tests will all pass when the tables are empty, but they should. The tests would not hit all possible code paths, but that's going to be true with real content and would not be completely thorough unless we specify some specific test content (a handful of observations with all possible fields filled in).

ca.nrc.cadc.reg.client.RegistryClient.host=<name of local host>
# database connection pools
# tapadm - assuming pgdev:5432 is where the database is deployed
org.opencadc.argus.tapadm.maxActive=2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testing should always use pool size of 1 for all pools

I never put the PG port number in JDBC URLs since we always run on the default port. Better to omit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants