[OSTF] Wrong discovering tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Sebastian Kalinowski |
Bug Description
FUEL RELEASE - 5.1
DEPLOYMENT MODE - multi-node
If name of a test file has combination of letters "ha", all tests in this file will be added to tests for HA mode.
If name of a test class in a test file has combination of letters "ha", all tests in this class will be added to tests for HA mode.
If name of a test in a test class has combination of letters "ha", this test will be added to tests for HA mode.
For example:
There is test file "test_sanity_
From ostf.log:
2014-08-21 12:34:03 INFO (nose_discovery) fuel_health.
2014-08-21 12:34:03 INFO (nose_discovery) fuel_health.
As the result of this I can't see the sanity test for Sahara in the "Health Check" tab on Web UI in the group "Sanity tests".
If I rename test file "test_sanity_
From ostf.log:
2014-08-21 13:31:29 INFO (nose_discovery) fuel_health.
2014-08-21 13:31:29 INFO (nose_discovery) fuel_health.
2014-08-21 13:31:29 INFO (nose_discovery) fuel_health.
2014-08-21 13:31:29 INFO (nose_discovery) fuel_health.
2014-08-21 13:31:29 INFO (nose_discovery) fuel_health.
2014-08-21 13:31:29 INFO (nose_discovery) fuel_health.
If I rename "test_sanity_
From ostf.log:
2014-08-21 14:21:51 INFO (nose_discovery) fuel_health.
2014-08-21 14:21:51 INFO (nose_discovery) fuel_health.
2014-08-21 14:21:51 INFO (nose_discovery) fuel_health.
After renaming the test file (as well as the class and the test) I can see the sanity test for Sahara in the "Health Check" tab on Web UI in the group "Sanity tests".
summary: |
- [OSTF] Wrong discovering cd -tests + [OSTF] Wrong discovering tests |
description: | updated |
Changed in fuel: | |
milestone: | none → 6.0 |
importance: | Undecided → Medium |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Yaroslav Lobankov (ylobankov) |
tags: | added: sahara |
Changed in fuel: | |
status: | New → Triaged |
Changed in fuel: | |
status: | Triaged → Confirmed |
assignee: | Yaroslav Lobankov (ylobankov) → Artem Roma (aroma-x) |
Changed in fuel: | |
assignee: | Artem Roma (aroma-x) → Fuel Python Team (fuel-python) |
Changed in fuel: | |
milestone: | 6.0 → 6.1 |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Sebastian Kalinowski (prmtl) |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/146870
Review: https:/