-
Notifications
You must be signed in to change notification settings - Fork 2
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
633 system tests on k8s #793
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #793 +/- ##
=======================================
Coverage 86.90% 86.91%
=======================================
Files 102 102
Lines 6956 6960 +4
=======================================
+ Hits 6045 6049 +4
Misses 911 911
|
f7e9978
to
6ed7f61
Compare
… was not working reliably
Move from podman to podman-compose
Helmcharts for deployment to k8s cluster Updates to modify secrets handling
Allow fixtures to be configurable to match the test db
6ed7f61
to
b02c969
Compare
@@ -165,7 +166,7 @@ legacy_tox_ini = """ | |||
[tox] | |||
skipsdist=True | |||
|
|||
[testenv:{pre-commit,type-checking,tests,docs}] | |||
[testenv:{pre-commit,type-checking,tests,docs,systemtests}] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: We've been calling it system-test
in other places, not really bothered but would be nice to be consistent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, dashes have a special meaning within tox:
https://tox.wiki/en/latest/user_guide.html
Test environment names can consist of alphanumeric characters and dashes; for example: py311-django42. The name will be split on dashes into multiple factors, meaning py311-django42 will be split into two factors: py311 and django42.
This addresses
The changes here mainly consist of changes to the unit tests to allow the ISPyB endpoint to be configured via the
ISPYB_CONFIG_PATH
during tests, which was previously overridden.Also there are changes to allow sample ID, visit and suchlike to be configured as an interim so that it is still possible to run the system tests individually locally against the
ispyb_hyperion_dev.cfg
database.The actual system test infrastructure can be found in the associated GitLab merge request