Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Updated int test README file#154

Open
andamian wants to merge 8 commits intoopencadc:mainfrom
andamian:CADC-13464
Open

Updated int test README file#154
andamian wants to merge 8 commits intoopencadc:mainfrom
andamian:CADC-13464

Conversation

@andamian
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread caom2-datalink-server/build.gradle Outdated
Comment thread argus/build.gradle Outdated
- `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
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants