Actions
action #13702
closedtests can fail when typing too long scripts in one go
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
-
Start date:
2016-09-13
Due date:
% Done:
0%
Estimated time:
Description
observation¶
see in http://lord.arch/tests/4810#step/hostname/14
the long line in tests/console/hostname.pm
assert_script_run "if systemctl -q is-active network.service; then systemctl reload-or-restart network.service; fi";
is typed incompletely. I am running the same tests over and over again in hunt for a different issue and the reported issue seems to happen in 2 out of currently about 30 runs.
problem¶
The string to type is too long without intermediate waiting which can cause the typing to be incomplete.
suggestion¶
Split up super long strings and ensure they are written out before continuing to type, e.g. as we do in type_string_very_slow. Also https://github.com/os-autoinst/os-autoinst/pull/584 could help.
Actions