Commit Graph

116 Commits

Author SHA1 Message Date
Daniel Nichter
e5e6b1d9b9 Fix pt-heartbeat/pxc.t. Exit early in test-env if wget fails. Add APP=FORK|mysql to start-sandbox so it too works around the pxc mysqld -V bug; add FORK=pxc to start_sandbox() calls. 2013-03-08 10:07:05 -08:00
vagrant
69a50ee27d Add PXC support to util/test-env. 2013-03-07 17:23:26 -08:00
vagrant
7db92dcaa4 Use mysqld -V --bind-address IP for PXC in start-standbox so the version is printed. 2013-03-07 16:39:07 -08:00
vagrant
ae79c8d746 Add PXC support to sandbox/test-env. 2013-03-07 16:08:56 -08:00
vagrant
664449b153 Do not 'REPLACE INTO percona_test.sentinel' in start-sandbox because it doesn't work with RBR. Fix pt-table-checksum/pxc.t re this, and make pt-osc/pxc.t better re this. 2013-03-07 13:17:01 -08:00
Daniel Nichter
2dc610ffe7 Make 'test-env restart cluster' work. 2013-03-06 12:03:34 -07:00
Daniel Nichter
5b56f8fccc Retry metadata locks. Add --plugin to make testing this easier. Print --statistics in cleanup tasks. Add a helper script for myself: sandbox/set-mysql. 2013-02-28 12:29:17 -07:00
Daniel Nichter
56799ce06b Change msandbox@localhost to msandbox@% to fix pt-show-grants/basics.t. 2013-02-27 19:33:05 -07:00
Daniel Nichter
9edaa3c4e2 Add the aforementioned InnoDB tables in mysql db. 2013-02-26 22:56:54 -07:00
Daniel Nichter
519ee42924 Fix MySQL 5.6 data again, this time manually loading all InnoDB tables in mysql db. 2013-02-26 22:55:29 -07:00
Daniel Nichter
07b818b730 Merge p:~percona-toolkit-dev/percona-toolkit/fix-1087319-quoter-multiple-nulls 2013-02-19 13:01:58 -07:00
Daniel Nichter
eb2585fb32 Various test fixes for MySQL 5.6.10 (which seems not to have mysql.hosts any longer). 2013-02-18 18:06:05 -07:00
Daniel Nichter
11a4edd8e8 Fix lib/Sandbox.pm for MySQL 5.6 too: don't checksum system and stat tables. Update 5.6 data.tar.gz with default data from 5.6.10. 2013-02-18 17:34:01 -07:00
Daniel Nichter
58f4f06fbb Add /usr/local/bin to PATH in jenkins-test. 2013-02-18 12:17:32 -07:00
Daniel Nichter
4c519735f7 Merge 2.1.9 fixes. 2013-02-05 09:47:17 -07:00
Brian Fraser
1283b5c8d0 Re-added comments to the skipped MariaDB warning in pt-osc, and ported back the changes to enable MariaDB sandboxes 2013-01-30 13:00:03 -03:00
Daniel Nichter
3dc0b19f7e Add env to jenkins-test. 2013-01-21 19:21:30 -07:00
Daniel Nichter
b532c0a3ba Add df -h and w to jenkins-test just in case. 2013-01-18 18:33:36 -07:00
Brian Fraser
49ddddd4f7 start-sandbox: Silence spurious grep warnings 2012-12-21 09:45:30 -03:00
Brian Fraser
42484ecd10 Merged mysql-5.6-test-fixes and resolved conflicts 2012-12-19 13:47:54 -03:00
Daniel Nichter
8b2f6bbd14 Fix REFETCH_MYSQL. 2012-12-14 17:22:41 -07:00
Daniel Nichter
0c60e12b42 Add REFETCH_MYSQL to jenkins-test. 2012-12-14 17:12:50 -07:00
Daniel Nichter
2942f2c028 Set USER=jenkins if not set in util/jenkins-test. 2012-12-14 11:46:56 -07:00
Brian Fraser
0ebe4ce6ce Merged pxc-pt-heartbeat 2012-12-13 22:24:03 -03:00
Daniel Nichter
d3f788a669 Add /usr/local/bin to PATH in jenkins-test. 2012-12-13 15:26:34 -07:00
Brian Fraser
6d01f5085b start-sandbox: If starting a cluster node that isn't the first one in the cluster, change the first's wsrep_cluster_address. This stops /tmp/12345/stop; /tmp/12345/start from creating a second cluster -- instead, it rejoins the original 2012-12-11 18:43:45 -03:00
Daniel Nichter
e82f062156 Fix root test in jenkins-test. 2012-12-07 14:55:52 -07:00
Daniel Nichter
d4a24a8afd Make jenkins-test not run as root. 2012-12-07 14:47:38 -07:00
Daniel Nichter
9ab8b33724 sudo su -- jenkins if running as root. 2012-12-07 14:18:06 -07:00
Daniel Nichter
fb3149b8be Set HOME=/home/jenkins if not defined and that dir exists. 2012-12-07 13:54:56 -07:00
Daniel Nichter
cfcfede0ef Add env to jenkins-test for debugging when needed. 2012-12-07 13:47:27 -07:00
Daniel Nichter
4903cc034b Remove SET TIME_ZONE from sakila.sql so the literal data-times are used, not adjusted based on the system tz. 2012-12-05 15:05:41 -07:00
Daniel Nichter
a672a1d98d Add QUERY_CACHE_SIZE to start-sandbox. Make t/pt-upgrade/warnings.t use 12349 instead of 12348, and start it with QUERY_CACHE_SIZE explicitly so MySQL 5.6.8 works. 2012-12-05 10:52:12 -07:00
Daniel Nichter
526a12438e Fix pt-table-sync/basics.t data because timestamps in sakila.sql changed. 2012-12-04 00:34:56 +00:00
Daniel Nichter
e7c3e908bb Create percona_test.sentinel in start-sandbox so wait_for_slave() works for other sandboxes. skip_all for skip_innodb.t with 5.6 because of http://bugs.mysql.com/67798. 2012-12-04 00:14:20 +00:00
Daniel Nichter
cb640e2cad Fix 5.6 data. Make start-sandbox load extra .sql files. Make ptc/basics.t pass on 5.6. 2012-12-03 21:08:42 +00:00
Daniel Nichter
9edf7bf471 Merge 2.1 r476. 2012-12-03 20:08:27 +00:00
Daniel Nichter
6c9f4c0722 Fix sakila.sql so it loads on 5.0. Only wait 60s for replication for test-env start. 2012-12-03 20:06:47 +00:00
Daniel Nichter
d0bd80037e Don't use [[ ]] since it doesn't work on Ubuntu. 2012-12-01 21:08:11 +00:00
Daniel Nichter
c251c72eb3 Use good Bash in sandbox/start-sandbox. 2012-12-01 13:38:46 -07:00
Daniel Nichter
432b9e42b3 Remove time zone stuff from sakila.sql and update NibbleIterator.t tests. 2012-11-28 15:00:30 -07:00
Daniel Nichter
51f5466aef Re-dump sakila.sql so it has the same ts so NibbleIterator.t doesn't fail. Consequently update 2 ptc tests now that mysql.proc is empty. 2012-11-28 14:39:19 -07:00
Daniel Nichter
61b352a04d Fix sandbox/load-sakila-db so it exits on error. 2012-11-28 17:55:35 +00:00
Daniel Nichter
d30265d245 Use direct mysqldump for sakila to avoid PXC MyISAM bugs and so that tests like t/pt-online-schema-change/basics.t can restore sakila easily. 2012-11-28 01:29:49 +00:00
Daniel Nichter
a71759640a Fix how start-sandbox looks for mysqld, broken by previous commit. 2012-11-16 12:08:49 -07:00
Daniel Nichter
3e687ec69a Make start-sandbox sed -e MYSQLD in the start script in case mysqld isn't in basedir/bin. 2012-11-16 12:04:47 -07:00
Brian Fraser
b9bfe6114c Merged fix-821715-enable-local-infile-in-dsn 2012-10-30 22:12:57 -03:00
Brian Fraser fraserb@gmail.com
9e832790f8 LOAD DATA LOCAL INFILE: The hopefully final fix.
This introduces a L option to the DSNs of pt-upgrade and pt-archiver,
which turns on mysql_local_infile.
2012-10-17 19:19:44 -03:00
Brian Fraser fraserb@gmail.com
6771202be0 Merged sandbox-pxc-compat 2012-10-17 12:04:17 -03:00
Daniel Nichter
6974cc7298 Fix wsrep_cluster_size check. 2012-10-16 15:46:17 -06:00