Actions
action #48035
closed[functional][y] execute SUT setup steps only once per test scenario
Status:
Rejected
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
SUSE QA (private) - Milestone 24
Start date:
2019-02-06
Due date:
2019-04-23
% Done:
0%
Estimated time:
Difficulty:
Description
Motivation¶
Whenever we activate terminals we set PS1, ensure proper permissions, disable packagekit, etc. . This is ok when we do it once for the system however in case of xterm we do it every single time we open a new xterm. This wastes quite some time.
E.g. see the minute it took from https://openqa.suse.de/tests/2470038#step/glxgears/3 till https://openqa.suse.de/tests/2470038#step/glxgears/11
We have this issue, as instead of performing these steps in the separate modules, we do it in x11_start_program instead of dedicated module x11_setup.
Other issue that if we execute both x11 tests and console tests, we will run steps multiple times.
Acceptance criteria¶
- Setup steps are executed once in separate test module for x11 tests
Suggestions¶
- We can use the flag to indicate that setup steps were executed
- We still have an issue that we don't share state of the job which has created the job, we might consider getting this feature first
- As this code is used everywhere, we should limit scope of our change, aiming yast2_gui test suite at first place.
Actions