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

Created by Alexey Kopytov on 2013-07-01 and last modified on 2013-07-04
Get this branch:
bzr branch lp:~akopytov/percona-xtrabackup/test-suite-cleanups-2.0
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

564. By Alexey Kopytov on 2013-07-03

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()

  * fixed bug #1196475 "xtrabackup does not recognize checkpoint #0 as
    a valid checkpoint on --prepare" as the previous change result in
    sporatic test failures without the fix.

  * fixed bug #1196894 "Wrong check for partitioning support in
    xb_part_range.sh"

  * fixed bug #1197249 "Debug xtrabackup_56 builds are affected by
    upstream bug #69653"

563. By Alexey Kopytov on 2013-06-28

Bug #1183500: Lot of failed t/bug1130627.sh in Jenkins param builds with
              2.1 series

The problem was that bug1130627.sh and a few other tests used the
stop_server/start_server sequence to force a checkpoint. That's a wrong
thing todo since the time when stop_server was changed to kill server
instead of shutting it down cleanly.

Fixed by replacing stop_server() with shutdown_server() and providing a
force_checkpoint() convenience function to avoid code duplication.

559. By <email address hidden> on 2013-05-14

Merge lp:~hrvojem/percona-xtrabackup/pxb-128-2.0

556. By <email address hidden> on 2013-05-07

Merge lp:~hrvojem/percona-xtrabackup/bug1177237-2.0

555. By <email address hidden> on 2013-05-06

Merge lp:~hrvojem/percona-xtrabackup/rn-2.0.7-2.0

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.1
This branch contains Public information 
Everyone can see this information.

Subscribers