You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version of the Go test is to create new units.
We should also add a test to delete/remove a unit.
Consequence:
Each time we deploy, if we run the Go test as part of the deployment, we will create new test units.
This will in time make the Db grow over and over with dummy units.
Because of that the Go Tests can't be run when in the PROD or DEMO environment.
More information;
We have an existing SQL script that also us to delete a unit from the BZ database: cleanup_remove_a_unit_bzfe.
The only parameter needed by this script is the BZ product ID for the unit.
We could transform this script into a stored SQL procedure to allow easy deletion of a unit.
The text was updated successfully, but these errors were encountered:
The problem:
The current version of the Go test is to create new units.
We should also add a test to delete/remove a unit.
Consequence:
Each time we deploy, if we run the Go test as part of the deployment, we will create new test units.
This will in time make the Db grow over and over with dummy units.
Because of that the Go Tests can't be run when in the PROD or DEMO environment.
More information;
We have an existing SQL script that also us to delete a unit from the BZ database:
cleanup_remove_a_unit_bzfe
.The only parameter needed by this script is the BZ product ID for the unit.
We could transform this script into a stored SQL procedure to allow easy deletion of a unit.
The text was updated successfully, but these errors were encountered: