Actions
action #17844
closedTest mysql_srv is not reliable
Start date:
2017-03-21
Due date:
% Done:
0%
Estimated time:
Difficulty:
Description
mysql_srv is not reliable enough, in build 0288 fails for few reasons:
https://openqa.suse.de/tests/826659#step/mysql_srv/5
wait_serial(".inactive.", 4) || die "mysql should be disabled by default"; - timeout is too short
https://openqa.suse.de/tests/826917#step/mysql_srv/10
wait_serial(".Syntax error.", 2, 1) || die "have error while starting mysql"; - if test timeouts wait_serial thinks it was "Syntax error" (maybe empty $ret->{string}? on timeout)
I also don't like this "|| die" syntax, as it's tricky and harder to understand. Especially in second case.
Updated by okurz about 7 years ago
- Status changed from New to In Progress
Updated by okurz about 7 years ago
- Status changed from In Progress to Resolved
PR merged, next job that could prove it working: https://openqa.suse.de/tests/835507 but it has been executed already somewhere else, I'm sure … ;-)
Actions