Allow for tests to pick up storage connection from env

Bug #1446993 reported by Flavio Percoco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
Medium
Thomas Herve
Kilo
Confirmed
Medium
Unassigned

Bug Description

Zaqar's test suite is quite flexible, it allows for setting up custom config files that point to other servers and whatnot. However, from a packaging perspective, this is far too much and there are no other (simpler) options that would allow for setting a custom db uri from the shell.

Add a `ZAQAR_TEST_MESSAGE_STORAGE_URI` and `ZAQAR_TEST_MANAGEMENT_STORE_URI` that would allow for dynamically change the uri depending on the environment.

description: updated
Changed in zaqar:
milestone: none → liberty-1
tags: added: backport-potencial
tags: removed: backport-potencial
Changed in zaqar:
status: New → Confirmed
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in zaqar:
milestone: liberty-1 → liberty-2
Revision history for this message
Flavio Percoco (flaper87) wrote :
Changed in zaqar:
status: Confirmed → Fix Committed
assignee: nobody → Thomas Herve (therve)
Thierry Carrez (ttx)
Changed in zaqar:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in zaqar:
milestone: liberty-2 → 1.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.