Commit Graph

205 Commits

Author SHA1 Message Date
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
Brian Fraser
41d7700aa5 WIP ptc: Autodetect cluster nodes & recurse to slaves 2012-11-23 19:00:38 -03: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
Brian Fraser fraserb@gmail.com
4449fb7cb7 test-env start cluster: Check that the cluster size is correct 2012-10-16 17:01:59 -03:00
Daniel Nichter
252de18574 Remove sys.sql handling from start-sandbox and rename sys.sql to innodb_stats.sql. 2012-10-16 12:37:29 -06:00
Daniel Nichter
628b5ba2b1 Add 5.6 sandbox. Fix start-sandbox so it doesn't s/PORT// in data files. Add loading sys.sql for InnoDB tables in mysql db. 2012-10-16 16:13:19 +01:00
Brian Fraser fraserb@gmail.com
4e833f3df3 Minimal PXC compat 2012-10-15 13:53:37 -03:00
Daniel Nichter
f0e79fb585 Remove PT stuff in /tmp before Jenkins testing. 2012-10-13 13:19:45 -06:00
Daniel Nichter
954d90a088 Try again to make rm failures not blow up Jenkins. 2012-10-13 13:14:35 -06:00
Daniel Nichter
876dd17060 Add true to fake subshell's exit status, I think. 2012-10-13 13:06:58 -06:00
Daniel Nichter
b09ebf53f0 Rm conf files in subshell so rm won't kill jenkins-test if there are no files. 2012-10-13 13:03:04 -06:00
Daniel Nichter
c060b650f2 Remove pt conf files before running Jenkins test else they can cause weird results. Make pt-stalk --collect run-time test more liberal. 2012-10-13 12:58:55 -06:00
Daniel Nichter
007fa0bdc2 Fix mysql.help_keyword in 5.5 sandbox. 2012-08-31 09:29:01 -06:00
Daniel Nichter
92a36715c4 Remove test-env reset. Fix pt-fifo-split plan. 2012-08-14 17:08:06 -06:00