action #71500
closed
Potential optimization by skipping deployment checks in our tests (all except explicit deployment check tests)
Added by okurz over 4 years ago.
Updated over 4 years ago.
Category:
Feature requests
Description
Motivation¶
t/lib/OpenQA/Test/Database.pm has an option "skip_deployment_check" when initializing the test database. It seems this takes some seconds to execute in all tests. Probably we can save quite some time by skipping this in all but one or only a selected subset of specific tests
- Status changed from New to Feedback
- Assignee set to okurz
https://github.com/os-autoinst/openQA/pull/3403 . Not exactly for deployment checks but related to what we found out.
EDIT: mkittler checked and stated that the "deployment_check" does the actual deployment, i.e. instantiation of schema, as well, so not only "check". Probably the unused option to skip should then be removed and the method renamed. But maybe we can still skip something within the check method.
EDIT: https://github.com/os-autoinst/openQA/pull/3403 merged
- Copied to action #72082: Reduce test runtime, e.g. less reliance on test fixtures or test database instances added
- Status changed from Feedback to Resolved
Also available in: Atom
PDF