Commit Graph

27 Commits

Author SHA1 Message Date
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
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
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
Brian Fraser fraserb@gmail.com
4e833f3df3 Minimal PXC compat 2012-10-15 13:53:37 -03:00
Daniel Nichter
92a36715c4 Remove test-env reset. Fix pt-fifo-split plan. 2012-08-14 17:08:06 -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
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
efb6a0f6ce Don't fail if /tmp/port/stop doesn't exist when stopping test env. 2012-07-19 12:40:51 -06: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
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
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
Daniel Nichter
9383572742 Merge trunk r174. 2012-02-07 13:10:11 -07:00
Daniel Nichter
4ad88ddd93 Update progress.t, option_sanity.t, and standard_options.t. Make test env always have slave2 (12347, slave of 12346). Add PerconaTest::count_checksum_results(). Add util/wait-to-exec. 2011-10-14 11:45:11 -06:00
Daniel Nichter
048ad9493c Various test tweaks for stability. 2011-08-25 11:08:57 -06:00
Daniel Nichter
e93381d6b6 Make sandbox scripts simpler and more reliable. Remove "remove" option from stop-sandbox and update tests that used it. 2011-08-23 09:11:00 -06:00
Daniel Nichter
0faa122867 Remove last references to Maakit. Update sandbox test env scripts. 2011-08-04 16:23:01 -06:00
Daniel Nichter
6c501128e6 Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1. 2011-06-24 11:22:06 -06:00