sandbox may fail on slow host
Bug #239632 reported by
Giuseppe Maxia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Sandbox |
Fix Released
|
Medium
|
Giuseppe Maxia | ||
Mysql-sandbox-1.99-alpha |
Fix Released
|
Medium
|
Giuseppe Maxia |
Bug Description
Currently, the Sandbox uses a "sleep" instruction to allow for the server to complete its startup.
On a slow machine, this sleep may not be enough, resulting in a failure to install a replicated server, or also in a failure to create grants.
The "sleep" must be replaced by a check-for-
Changed in mysql-sandbox: | |
assignee: | nobody → giuseppe-maxia |
importance: | Undecided → Medium |
status: | New → Confirmed |
To post a comment you must log in.
Replaced the fixed "sleep 3" with a loop.
The loop sleeps for 1 second and checks for completion.
After a given timeout (20 seconds for starting, 10 seconds for stopping) it gives up.