lp:~akopytov/percona-xtrabackup/test-suite-cleanups

Created by Alexey Kopytov on 2011-06-09 and last modified on 2013-06-28
Get this branch:
bzr branch lp:~akopytov/percona-xtrabackup/test-suite-cleanups
Only Alexey Kopytov can upload to this branch. If you are Alexey Kopytov please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

619. By Alexey Kopytov on 2013-06-28

Various test suite cleanups:

* Re-implemented testrun.c in testrun.sh. This allows cleaner and more
  efficient implementations of parallel tests execution and status
  aggregation. Unlike previously, a server instance to detect version
  is now started just once before tests execution, which should save a
  lot of time. And we don't need to hash the binary. Progress is now
  reported and stats are also collected in the main script. And we
  also don't need multuple subunit files.

* As we don't need the run.sh wrapper now either, renamed testrun.sh
  back to its original name.

* Fixed bug #1097434 "CTRL-C or kill run.sh only terminates current
  test, not entire run" by defining appropriate signal handler in the script.

* Fixed bug #1097444 "xtrabackup test suite leaves xtrabackup.mysql.sock
  and xtrabackup_port_lock files behind in /tmp" by making sure
  everything is killed and cleaned up in all circumstances

* Fixed bug #1194813 "The port lock mechanism in XB test suite does not work"

* Time taken by each test is now reported

* The summary is now a lot more similar to MTR and includes test
  execution time stats and skipped tests summary.

* When a test fails in debug mode, information on where the artifacts
  can be found is now displayed in the summary

* record_db_state / verify_db_state now pass --skip-extended-insert to
  mysqldump, which makes identifying difference in data rows much
  easier.

* reduced the time we are waiting for a server to start by tweaking
  mysql_ping()

618. By Alexey Kopytov on 2013-06-21

Empty merge from 2.0.

612. By Alexey Kopytov on 2013-06-21

Empty merge from 2.0.

611. By <email address hidden> on 2013-06-19

Merge lp:~hrvojem/percona-xtrabackup/bug1181317

610. By Alexey Kopytov on 2013-06-14

Bug #1190716: innobackupex --safe-slave-backup hangs when used on
              master

The problem was in uninitialized value usage in wait_for_safe_slave()
when the server is not a replication slave, i.e. when no values in
$con->{slave_status} are defined.

Fixed by moving the check for $con->{slave_status}->{Slave_SQL_Running}
after the check for $host_is_slave and checking if Slave_SQL_Running is
defined when setting $host_is_slave for extra-safety.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:percona-xtrabackup/2.0
This branch contains Public information 
Everyone can see this information.

Subscribers