Commit Graph

83 Commits

Author SHA1 Message Date
Daniel Nichter
d3f788a669 Add /usr/local/bin to PATH in jenkins-test. 2012-12-13 15:26:34 -07: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
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
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
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
Daniel Nichter
b5ba79bb6d Collect df -k instead of df -h. Set log_error with abs path to fix failing t/lib/bash/collect.t test. 2012-08-14 09:11:41 -06:00
Daniel Nichter
dbb4360aa7 Tweak sandbox/jenkins-test so args in TEST_CMD can have spaces. 2012-08-06 17:50:54 -06:00
Daniel Nichter
cc3826f665 Fix more test output broken by percona_test.load_data. Tweak ptc/t/privs.t so it passes on my box. Fix new start/stop scripts: don't check ibdata1 because SKIP_INNODB may be used. Make PerconaTest::output() cleaner. 2012-08-01 14:58:52 -06:00
Daniel Nichter
7e464dc3f8 Wait 1 minute to start and stop sandboxes. Report how long start/stop took. Clean up code. 2012-08-01 09:40:05 -06:00
Daniel Nichter
d19844b94c Debug when start-sandbox fails. 2012-07-31 17:15:55 -06:00
Daniel Nichter
8b15e2936b Wait longer for sandboxes to start. Dump their info better if they don't. 2012-07-31 16:30:52 -06:00
Daniel Nichter
010617ed65 Check LOAD DATA using Perl. 2012-07-31 15:54:44 -06:00
Daniel Nichter
570b26de20 Remove LOAD DATA check from pt-archiver and pt-upgrade. Make test-env check if LOAD DATA works and PerconaTest export . Rewrite how pt-archiver/t/bulk_insert.t conditionalizes on LOAD DATA working. 2012-07-31 15:37:02 -06:00
Daniel Nichter
702d475eda Set LANG so sort acts as expected and Jenkins is happy. 2012-07-31 10:49:33 -06:00
Brian Fraser
5d8be022e9 Merge ubuntu-12-64-issues 2012-07-20 17:33:13 -03:00
Daniel Nichter
97a8ba9518 Report when a /tmp/port is missing files. 2012-07-19 12:51:23 -06:00
Daniel Nichter
efb6a0f6ce Don't fail if /tmp/port/stop doesn't exist when stopping test env. 2012-07-19 12:40:51 -06:00
Brian Fraser
e9c9608c33 pt-archiver & tests: Deal with LOAD DATA LOCAL INFILE being disabled.
This occasionally shows up in some OSs, like Ubuntu 12.04 LTS.
2012-07-11 17:31:03 -03:00
Daniel Nichter
137e319afa Fix mysqld -V test again. 2012-06-29 18:18:28 -06:00
Daniel Nichter
80308dcb5d Fix arch check and find_mysql_base_dir(). 2012-06-29 16:12:33 -06:00
Daniel Nichter
e560b7e3dc Fix find cmd and mysqld -V test. wget to explicit file name. 2012-06-29 15:55:06 -06:00
Daniel Nichter
cf6e4847b4 Changes to sandbox/jenkins-test: get 32-/64-bit barebones MySQL according to OS arch; use /Users/daniel for MySQL binaries; and remove ITERATIONS. 2012-06-29 15:42:03 -06:00
Baron Schwartz
47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -04:00
Baron Schwartz
b9304dabb5 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:14:20 -04:00
Daniel Nichter
46fdc4be4e Fix general_log config for 5.5. 2012-06-07 12:51:44 -04:00
Daniel Nichter
79c716d358 Remove pt-table-sync/issue_79.t (it was broken but coincidentally working) and write better tests in filters.t. Add subs to Sandbox and PerconaTest to clear and parse tables used from the general logs. Set log=genlog in the sandbox configs. 2012-06-07 12:38:45 -04:00
baron
52271eec9e prevent annoying error messages about unsigned thread_stack value blah blah 2012-06-06 21:30:15 -04:00