Project

General

Profile

action #17844

Test mysql_srv is not reliable

Added by mkravec over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
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.

History

#1 Updated by okurz over 5 years ago

  • Status changed from New to In Progress

#2 Updated by okurz over 5 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 … ;-)

Also available in: Atom PDF