-
Notifications
You must be signed in to change notification settings - Fork 39
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
tests: SHARED_VOLUME_PATH not dynamically configurable #217
Labels
type/bug
Something isn't working
Comments
diegodelemos
pushed a commit
to diegodelemos/pytest-reana
that referenced
this issue
Oct 13, 2020
diegodelemos
pushed a commit
to diegodelemos/pytest-reana
that referenced
this issue
Oct 13, 2020
diegodelemos
pushed a commit
to diegodelemos/pytest-reana
that referenced
this issue
Oct 13, 2020
diegodelemos
pushed a commit
to diegodelemos/pytest-reana
that referenced
this issue
Oct 13, 2020
diegodelemos
pushed a commit
to diegodelemos/pytest-reana
that referenced
this issue
Oct 13, 2020
diegodelemos
pushed a commit
to diegodelemos/pytest-reana
that referenced
this issue
Oct 13, 2020
diegodelemos
pushed a commit
to diegodelemos/reana-workflow-controller
that referenced
this issue
Oct 13, 2020
* Uses latest pytes-reana which allows configuring the `tmp_shared_volume_path` fixture through environment variable which is needed because of reanahub/reana-commons#217. * Amends test according to latest changes.
diegodelemos
pushed a commit
to diegodelemos/reana-workflow-controller
that referenced
this issue
Oct 13, 2020
* Uses latest pytes-reana which allows configuring the `tmp_shared_volume_path` fixture through environment variable which is needed because of reanahub/reana-commons#217. * Amends test according to latest changes.
diegodelemos
pushed a commit
to diegodelemos/reana-workflow-controller
that referenced
this issue
Oct 13, 2020
* Uses latest pytes-reana which allows configuring the `tmp_shared_volume_path` fixture through environment variable which is needed because of reanahub/reana-commons#217. * Amends test according to latest changes.
diegodelemos
pushed a commit
to diegodelemos/reana-workflow-controller
that referenced
this issue
Oct 13, 2020
* Uses latest pytes-reana which allows configuring the `tmp_shared_volume_path` fixture through environment variable which is needed because of reanahub/reana-commons#217. * Amends test according to latest changes.
diegodelemos
pushed a commit
to diegodelemos/reana-workflow-controller
that referenced
this issue
Oct 13, 2020
* Uses latest pytes-reana which allows configuring the `tmp_shared_volume_path` fixture through environment variable which is needed because of reanahub/reana-commons#217. * Amends test according to latest changes.
diegodelemos
pushed a commit
to audrium/reana-workflow-controller
that referenced
this issue
Oct 13, 2020
* Uses latest pytes-reana which allows configuring the `tmp_shared_volume_path` fixture through environment variable which is needed because of reanahub/reana-commons#217. * Amends test according to latest changes.
diegodelemos
pushed a commit
to diegodelemos/reana-workflow-controller
that referenced
this issue
Oct 13, 2020
* Uses latest pytes-reana which allows configuring the `tmp_shared_volume_path` fixture through environment variable which is needed because of reanahub/reana-commons#217. * Amends test according to latest changes.
diegodelemos
pushed a commit
to audrium/reana-workflow-controller
that referenced
this issue
Oct 14, 2020
* Uses latest pytes-reana which allows configuring the `tmp_shared_volume_path` fixture through environment variable which is needed because of reanahub/reana-commons#217. * Amends test according to latest changes.
diegodelemos
pushed a commit
to audrium/reana-workflow-controller
that referenced
this issue
Oct 15, 2020
* Uses latest pytes-reana which allows configuring the `tmp_shared_volume_path` fixture through environment variable which is needed because of reanahub/reana-commons#217. * Amends test according to latest changes.
diegodelemos
pushed a commit
to audrium/reana-workflow-controller
that referenced
this issue
Oct 15, 2020
* Uses latest pytes-reana which allows configuring the `tmp_shared_volume_path` fixture through environment variable which is needed because of reanahub/reana-commons#217. * Amends test according to latest changes.
diegodelemos
pushed a commit
to diegodelemos/reana-workflow-controller
that referenced
this issue
Oct 30, 2020
* Reverting this change as it was fixing reanahub/reana-commons#217.
diegodelemos
pushed a commit
to diegodelemos/reana-workflow-controller
that referenced
this issue
Oct 30, 2020
* Reverting this change as it was fixing reanahub/reana-commons#217.
This is not fully working. On a setup where a developer doesn't have |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, any component that uses REANA-Commons will have have failing tests e.g. this build in RWC, because of:
This happens because even though we create a temporary directory and then we configure the Flask app to take it into account in tests, the SHARED_VOLUME_PATH inside REANA-Commons remains unchanged and REANA-Commons's
get_disk_usage
relies on it directly.Possible solutions:
SHARED_VOLUME_PATH
through environment variableget_disk_usage
as new parameter. This way it would be the responsibility of the clients to load dynamic config (e.g. RWC)get_disk_usage
is called from R-DB (non Flask component, therefore, no dynamic config).The text was updated successfully, but these errors were encountered: