frank-cizmich
|
b408fcfd01
|
misc test and sandbox fixes
|
2015-08-03 17:26:51 -03:00 |
|
Frank Cizmich
|
5166057e15
|
Added --ask-pass option to pt-stalk. Fixed small issue with sandbox when there is no mysql database
|
2014-09-10 12:45:59 -03:00 |
|
Daniel Nichter
|
3b96187313
|
Change --skip-gtid-uuid to --master-uuid. Make test more reliable. Simplify code and clean up docs.
|
2014-05-28 13:31:10 -07:00 |
|
Daniel Nichter
|
9d4f23fe53
|
Move --log-dsn tests from kill.t to log_dsn.t. Pass actual dsn, not retval of get_cxn_params() to Cxn. Add Sandbox::get_cnf().
|
2013-08-12 14:19:57 -07:00 |
|
Daniel Nichter
|
270962ad54
|
Merge 2.2 r551.
|
2013-03-11 10:51:30 -06:00 |
|
Daniel Nichter
|
e5e6b1d9b9
|
Fix pt-heartbeat/pxc.t. Exit early in test-env if wget fails. Add APP=FORK|mysql to start-sandbox so it too works around the pxc mysqld -V bug; add FORK=pxc to start_sandbox() calls.
|
2013-03-08 10:07:05 -08:00 |
|
Daniel Nichter
|
dcdeb606c8
|
Test pt-upgrade host-to-host. Implement diff_query_times(). Export $test_diff from PerconaTest instead of doing diag() in no_diff().
|
2013-02-19 17:03:50 -07:00 |
|
Daniel Nichter
|
07b818b730
|
Merge p:~percona-toolkit-dev/percona-toolkit/fix-1087319-quoter-multiple-nulls
|
2013-02-19 13:01:58 -07:00 |
|
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
|
feab2f0925
|
s/Percona Inc/Percona Ireland Ltd/g
|
2013-01-02 17:19:16 -07:00 |
|
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 |
|