Potential optimization by skipping deployment checks in our tests (all except explicit deployment check tests)
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