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

Integration tests for FINOS Legend Engine #17

Open
claudiubelu opened this issue Mar 23, 2022 · 0 comments
Open

Integration tests for FINOS Legend Engine #17

claudiubelu opened this issue Mar 23, 2022 · 0 comments

Comments

@claudiubelu
Copy link
Contributor

claudiubelu commented Mar 23, 2022

Currently, we're only running lint and unit tests on presubmit. Unit tests are useful, but insufficient in ensuring that new pull requests do not break the current charm.

The integration tests should:

  • build and deploy the charm.
  • add the necessary (tester) charms and relations for the following relations: legend-db (receives mongodb credentials), legend-studio-gitlab (receives gitlab's secret name and secret ID needed by Legend).
  • check that the charm becomes active and that Legend Engine is reachable through its IP (http://pod_ip:6060).
  • check that the Legend Engine configuration files are updated when the above relations are updated with new data.
  • check that the charm updates the legend-engine-gitlab relation when its external-hostname and / or enable-tls config option is changed.
  • check that the charm updates the legend-engine relation when its external-hostname and / or enable-tls config option is changed.
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

No branches or pull requests

1 participant