Project

General

Profile

Actions

action #17844

closed

Test mysql_srv is not reliable

Added by mkravec about 7 years ago. Updated about 7 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.

Actions #1

Updated by okurz about 7 years ago

  • Status changed from New to In Progress
Actions #2

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

Also available in: Atom PDF