camp-assembly-func-tests-not-clearing-image-table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Solum |
New
|
Medium
|
Ashish |
Bug Description
CAMP related assembly functional tests are not deleting DU image records from the image table after test completion.
Way to reproduce:
1) Do functionaltest setup outlined here: https:/
2) Run tests:
nosetests --tests functionaltests
3) After tests finish, login to mysql database and query the image table.
% mysql
% use solum;
% select * from image;
You should see the following:
mysql> select * from image;
+-----+
| id | uuid | created_at | updated_at | name | description | source_uri | project_id | user_id | tags | status | base_image_id | created_image_id | image_format | source_format | artifact_type | external_ref | docker_image_name |
+-----+
| 179 | 891272eb-
| 180 | fcb21226-
+-----+
We should ensure that these records get deleted upon completion of the tests.
The way to do this is to check fix it in assembly delete code path in:
https:/
description: | updated |
Changed in solum: | |
assignee: | nobody → Ashish (ashish-jain14) |