Convergence tests are slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Slowest Tests
Test id Runtime (s)
-------
heat.tests.
heat.tests.
heat.tests.
heat.tests.
heat.tests.
heat.tests.
heat.tests.
heat.tests.
heat.tests.
heat.tests.
We're spending about 45seconds running only 8 convergence scenario tests, which is a big overhead when you run the tests regularly.
I assume we're missing some stubbing of sleeps, or perhaps these scenario tests should only be run as functional tests, not the default tox -e py27 target?
Changed in heat: | |
assignee: | nobody → zhaozhilong (zhaozhilong) |
Changed in heat: | |
assignee: | zhaozhilong (zhaozhilong) → nobody |
These are scenario tests for convergence code(https:/ /review. openstack. org/#/c/ 203661/).
It acts on fake_resources only.
It could be moved to functional tests, but since it takes less than a minute and till the time all convergence bugs are fixed and convergence is made the default option, I think it is fine to have it here so that dev will uncover bugs in early stage. (I assume not everyone runs the actual integration tests before submitting code)
Regards,
Rakesh