Merge lp:~akopytov/percona-xtrabackup/bug1096584-2.0 into lp:percona-xtrabackup/2.0
Status: | Merged |
---|---|
Approved by: | Stewart Smith |
Approved revision: | no longer in the source branch. |
Merged at revision: | 493 |
Proposed branch: | lp:~akopytov/percona-xtrabackup/bug1096584-2.0 |
Merge into: | lp:percona-xtrabackup/2.0 |
Diff against target: |
11 lines (+1/-0) 1 file modified
test/inc/common.sh (+1/-0) |
To merge this branch: | bzr merge lp:~akopytov/percona-xtrabackup/bug1096584-2.0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stewart Smith (community) | Approve | ||
Review via email: mp+142060@code.launchpad.net |
Description of the change
Bug #1096584: Test suite may kill unrelated processes due to stale PID
PIDs are stored in $TEST_BASEDIR/
instance was killed with SIGKILL, the pid file was left in
$TEST_BASEDIR. Normally the next test would overwrite the PID
file. However, there might be cases when a test case starts two server
instances (i.e. there are mysql1.pid and mysqld2.pid), and the next one
starts only one (i.e. it only overwrites mysqld1.pid). So the next test
will attempt to kill the same PID stored in mysqld2.pid once again.
Fixed by removing PID files after killing the corresponding server
instance.
http://