Daniel Nichter
|
97e0529798
|
Rewrite t/pt-archiver/standard_options.t to make it reliable.
|
2012-12-06 10:02:24 -07: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
|
72a129bce1
|
Add is_cluster_mode() to lib/Sandbox.pm.
|
2012-11-30 18:13:04 +00:00 |
|
Daniel Nichter
|
065e0a8c5e
|
Merge 2.1 at r473.
|
2012-11-30 00:23:42 +00:00 |
|
Daniel Nichter
|
90a91cd384
|
Merge pt-osc-pxc-tests.
|
2012-11-29 17:10:51 -07:00 |
|
Daniel Nichter
|
8549fe5d99
|
Test and require wsrep_OSU_method=TOI.
|
2012-11-29 23:26:53 +00:00 |
|
Brian Fraser
|
d496fbcf11
|
Tests for pt-archiver + PXC
|
2012-11-29 07:29:24 -03:00 |
|
Brian Fraser
|
b1e0aac38f
|
Fixed various failing tests
|
2012-11-21 17:04:42 -03:00 |
|
Daniel Nichter
|
5278451292
|
Don't suppress STDOUT in Sandbox.pm subs so die may have something to say.
|
2012-11-19 11:23:23 -07:00 |
|
Daniel Nichter
|
e0f0ea0cdb
|
Rewrite and enhance lib/Percona/XtraDB/Cluster.pm and t/pt-table-checksum/pxc.t. Change how ptc handles various cluster issues. Change lib/Sandbox.pm subs like start_sandbox() and start_cluster(). PXC docs in ptc are a work in progress.
|
2012-11-18 22:05:30 -07:00 |
|
Brian Fraser
|
7beb0b518e
|
Reverted a few unnecessary changes
|
2012-11-08 17:47:00 -03:00 |
|
Brian Fraser
|
42a9cf4b6e
|
Merged fix-1062563-1063912-ptc-pxc-bugs and resolved conflicts, added the missing Percona::XtraDB::Cluster file
|
2012-11-08 17:38:04 -03:00 |
|
Brian Fraser
|
86de49e727
|
Merged sandbox-get_dbh_for-fix
|
2012-11-07 04:13:50 -03:00 |
|
Daniel Nichter
|
e8cfb37341
|
Move ptc PXC tests from bugs.t to pxc.t. Remove 2>&1 from Sandbox.pm shell-outs: we should let errors go to stderr so we can trap them. Fix skip count in Cxn.t for PXC tests.
|
2012-11-06 16:10:01 -07:00 |
|
Brian Fraser fraserb@gmail.com
|
6840ce638e
|
Sandbox.pm: Make get_dbh_for die if it can't get a dbh, which should help to diagnose some test box failures
|
2012-10-31 13:48:20 -03:00 |
|
Brian Fraser
|
b9bfe6114c
|
Merged fix-821715-enable-local-infile-in-dsn
|
2012-10-30 22:12:57 -03:00 |
|
Daniel Nichter
|
e69f1f24d0
|
Remove $Sandbox::Percona::Toolkit::VERSION and use $Percona::Toolkit::VERSION instead since it's the authoritative version.
|
2012-10-24 13:52:10 -06: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
|
1875066868
|
Fix and tests for 1062563 and 1063912: ptc+PXC bugs
|
2012-10-17 12:58:48 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
4e833f3df3
|
Minimal PXC compat
|
2012-10-15 13:53:37 -03:00 |
|
Brian Fraser
|
aa98b589b6
|
Build percona-toolkit-2.1.4
|
2012-09-20 10:59:16 -03:00 |
|
Brian Fraser
|
357fff7153
|
VersionCheck: Update to newest spec and add get_bin_version()
|
2012-08-09 15:33:42 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
87f32cc857
|
Sandbox.pm: Catch errors from shelled-out commands
|
2012-06-11 11:50:52 -03: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 Schwartz
|
af38351e82
|
wait for slaves after load_file
|
2012-06-06 16:32:14 -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
|
14b615ebd9
|
5s default wait_until() time. Wait 5m instead of 16m for wipe_clean(). Don't connect to slave2 in wipe_clean() any longer.
|
2012-06-06 11:43:56 -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 |
|
Daniel Nichter
|
48677eb4d1
|
All Test::More::diag() in Sandbox.pm instead of just diag().
|
2012-06-05 19:56:46 -07:00 |
|
Daniel Nichter
|
0e4b01bad7
|
Make wipe_clean() wait until 12347 is clean. Fix ChangeHandler.t, CompareResults.t, and Quoter.t so they leave the dbs clean.
|
2012-06-05 19:55:03 -07:00 |
|
Daniel Nichter
|
2d7cc5e8a4
|
Check for leftover databases. Fix MasterSlave.t so it doesn't leave leftover dbs and it resets 12347.
|
2012-06-05 18:55:32 -07:00 |
|
Daniel Nichter
|
ac620957c9
|
Print on which host tables are different.
|
2012-06-05 11:20:18 -07:00 |
|
Daniel Nichter
|
a44a273800
|
Revert back to ok() for Sandbox::ok() so tests file don't have to be updated. Shorten verify_test_data_integrity() to verify_test_data().
|
2012-06-05 11:02:48 -07:00 |
|
Baron Schwartz
|
5c23b95072
|
magic to check that tests didn't muck with test dataset
|
2012-06-05 03:24:59 -04:00 |
|
Daniel Nichter
|
1b11b7d7d9
|
Kill cxn only if using a db in Sandbox::wipe_clean(). Fix pt-duplicate-key-checker/basics.t for 5.0. Make pt-table-sync/lock_and_rename.t more stable.
|
2012-06-04 18:46:35 -07:00 |
|
Baron Schwartz
|
3a717b645c
|
Sometimes Sandbox.pm tries to kill a connection that's already gone, and that kills the whole test.
|
2012-06-04 12:08:50 -04:00 |
|
Daniel Nichter
|
7f51c42493
|
Fix Sandbox::leftover_servers(). Temporarily disable very slow test in pt-table-checksum/chunk_size.t. Debugging pt-table-checksum/replication_filters.t.
|
2012-06-04 08:24:30 -04:00 |
|
Daniel Nichter
|
2afbe4a729
|
Handle NAME_lc in Sandbox::wipe_clean().
|
2012-06-03 15:04:50 -07:00 |
|
Baron Schwartz
|
6cc17a73c2
|
A few miscellaneous changes, including a fix for metadata locking and wipe_clean in Sandbox.pm
|
2012-06-03 17:20:12 -04:00 |
|
Baron Schwartz
|
87c8240369
|
fix problems with sandbox breaking replication and pt-slave-delay
|
2012-06-03 15:29:35 -04:00 |
|
Daniel Nichter
|
275ae93084
|
Fix waiting for slave message.
|
2012-06-03 14:41:29 -04:00 |
|
Daniel Nichter
|
67757bf838
|
Return false if the slave isn't ok. Use diag() for the waiting for slave message.
|
2012-06-03 14:21:29 -04:00 |
|
Daniel Nichter
|
e5300c78a0
|
Check slave threads and read-only in Sandbox::ok().
|
2012-06-03 13:09:46 -04:00 |
|
Daniel Nichter
|
d9a786d8f3
|
Add Sandbox::ok().
|
2012-06-03 12:46:12 -04:00 |
|
Daniel Nichter
|
88304e69fb
|
Replace MKDEBUG with PTDEBUG in modules.
|
2012-01-19 12:46:56 -07:00 |
|
Daniel Nichter
|
b63bc4c26b
|
Convert pt-table-checksum boundaries to SQL WHERE clauses.
|
2011-12-22 15:43:15 -07:00 |
|
Daniel Nichter
|
b805f7c92d
|
Remove $Revision$ and finish re-branding modules. Rename MaatkitTest.pm to PerconaTest.pm. Put copyrights on one line.
|
2011-07-12 15:47:07 -06:00 |
|
Daniel Nichter
|
55c69ffbc1
|
Move module docu to work for NaturalDocs.
|
2011-07-02 12:29:08 -06:00 |
|
Daniel Nichter
|
82931ec399
|
Enclose all packages blocks and add Package devel docu.
|
2011-06-28 17:50:02 -06:00 |
|