Commit Graph

68 Commits

Author SHA1 Message Date
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
Daniel Nichter
f4b3bdb88b Use just RAND() instead of RAND() + NOW() to avoid be coerced to an int and therefore not sub-second safe. 2012-06-06 13:52:17 -07:00
Daniel Nichter
a178bb32f8 Use md5 "pings" in percona_test.sentinel for sub-second tests that call wipe_clean() twice. Update t/lib/samples/SchemaIterator/all-dbs-tbls-5.0.txt for percona_test.sentinel. Restart slaves in pt-table-checksum/replication_filters.t. Modernize and make pt-table-sync/replicate_do_db.t stable. 2012-06-06 13:31:24 -07:00
Daniel Nichter
805b9dec4a Clear mysql.db from default 5.1 sandbox data. 2012-06-06 14:31:36 -04:00
Baron Schwartz
9865ad451d add sanity checks and slave-lag synchronization to prevent replication breakage, false sandbox breakage, etc. 2012-06-06 04:47:45 -04:00
Baron Schwartz
1a40d1301f Make sandbox servers log their actions, remove test-env reset from pt-table-checksum/basics.t to stop replication breakage 2012-06-06 00:57:19 -04:00
Baron Schwartz
5c23b95072 magic to check that tests didn't muck with test dataset 2012-06-05 03:24:59 -04:00
baron
95f7e53feb simplify and clean up sandbox/test-env a little, also helps prevent error messages like this when running test-env: [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072 2012-06-05 10:22:04 -04:00
Baron Schwartz
81e31c67ff change default storage engine when disabling innodb 2012-06-04 10:08:27 -04:00
Daniel Nichter
5b34b78958 Fix typo in sandbox/jenkins-test. 2012-06-04 11:46:02 -04:00
Daniel Nichter
fb924487ef Tweak test-env kill a little; going to use it in Jenkins. 2012-06-04 11:41:58 -04:00
Daniel Nichter
4052c04759 Make sandbox/test-env print debug info when an error happens. 2012-06-04 11:20:53 -04:00
Daniel Nichter
4e90f65736 Make pt-table-checksum/relication_filters.t and progress.t stable. Add PerconaTest::wait_until_no_lag(). Fix sandbox/test-env reset. 2012-06-04 07:33:14 -07:00
Baron Schwartz
2e6a2e3638 make start-sandbox succeed when there is a leftover sandbox already 2012-06-03 17:24:46 -04:00
Baron Schwartz
bfd2222a54 make slaves set themselves read_only. Fix problem with replication_filters.t that is possibly not starting slaves after their masters are restarted. 2012-06-03 16:20:58 -04:00
Daniel Nichter
0b0db9dee4 Fix 5.5 data file timestamps so they're not in the future. 2012-05-18 09:37:09 -06:00