Problems when running the integration tests locally
Summary
There are several problems when attempting to run the scripts locally against LinkAhead. for the missing/wrong/contradictory documentation, see #22 and https://gitlab.indiscale.com/caosdb/src/caosdb-deploy/-/issues/363. Further problems concern the authtokens: In a local setup, you have to docker cp
the auth tokens from within the server container to a location specified in your pylinkahead.ini.
Expected Behavior
It should be possible and documented to run the integration tests.
Actual Behavior
There are errors because of unclear config and
Steps to Reproduce the Problem
Follow the instructions on how to run the tests.
Specifications
- Version: LinkAhead 0.14
- Platform: any
Possible fixes
- Add an integration-test profile to this Repo
- Improve, unify, and fix documentation
- Skip tests that don't really make sense for local execution?
Workarounds
- Use pipelines for integration tests
-
docker cp
authtokens before every run of the inttests - Run integration tests within docker container?
- Use plain linkahead-server without docker