Commit Graph

1136 Commits

Author SHA1 Message Date
Daniel Nichter
21efb4dd7e Truly fix t[/pt-fifo-split/pt-fifo-split.t. 2013-03-02 17:02:08 -07:00
Daniel Nichter
882defb1cc Fix t/lib/Percona/XtraDB/Cluster-no-PXC.t. 2013-03-02 13:19:42 -07:00
Daniel Nichter
1b95fee620 Pass file to OptionParser->new() in tests so OptionParser::get_vars() works. 2013-03-02 13:10:28 -07:00
Daniel Nichter
f7e07493f6 Don't set innodb_lock_wait_timeout in tests because it generates a warning on 5.0 and 5.1 that the tests don't suppress. 2013-03-02 13:05:26 -07:00
Daniel Nichter
9e9024d508 Fix more tests for set-vars. 2013-03-02 12:17:12 -07:00
Daniel Nichter
f0b7712528 Fix tests to work with new --set-vars, and change --lock-wait-timeout to --set-vars innodb_lock_wait_timeout in tests. 2013-03-02 10:17:23 -07:00
Daniel Nichter
1d42a09196 Remove --lock-wait-timeout from pt-table-checksum; make innodb_lock_waitout=1 a --set-vars default. Update all the ptc tests. 2013-03-01 19:02:13 -07:00
Daniel Nichter
a8f52fd532 Fix t/pt-table-checksum/replication_filters.t again because my Mac is the odd ball. 2013-03-01 18:31:31 -07:00
Daniel Nichter
e40f973ed8 Fix t/pt-table-checksum/replication_filters.t again, better. 2013-03-01 17:28:20 -07:00
Daniel Nichter
5a34a0817e Fix bug 968596: rename NibbleIterator::chunk_size() to limit() and update ptc and pt-osc. 2013-02-28 19:26:04 -07:00
Daniel Nichter
15341b4e0e Fix --stats sample for < MySQL 5.5. 2013-02-28 19:00:07 -07:00
Daniel Nichter
557a63232b Document and test --plugin. 2013-02-28 17:27:39 -07:00
Daniel Nichter
5b56f8fccc Retry metadata locks. Add --plugin to make testing this easier. Print --statistics in cleanup tasks. Add a helper script for myself: sandbox/set-mysql. 2013-02-28 12:29:17 -07:00
Daniel Nichter
b1e54cce8e Merge latest 2.2 for MySQL 5.6 fixes. 2013-02-28 08:54:31 -07:00
Daniel Nichter
310de04a56 Don't use /tmp in tempfile(). 2013-02-27 22:24:57 -07:00
Daniel Nichter
e290d91fec Fix t/pt-fifo-split/pt-fifo-split.t. 2013-02-27 22:23:07 -07:00
Daniel Nichter
c1a11168bc Fix t/pt-table-checksum/replication_filters.t fofor MySQL 5.6. 2013-02-27 21:59:34 -07:00
Daniel Nichter
2ffe8737a4 Fix pt-table-checksum/basics.t test that was affected by bug 1087804, and test for bug 1087804. 2013-02-27 19:44:37 -07:00
Daniel Nichter
55049b8759 Fix Runtime.t and update it in all tools. 2013-02-27 19:23:08 -07:00
Daniel Nichter
c6958b497d First working enhanced --set-vars in pt-osc: no "default: ...", instead default values are under MAGIC_set_vars, picked up by OptionParser and passed to DSNParser. Also increaes --retries from 3 to 10. TODO: more testing. 2013-02-27 18:47:00 -07:00
Daniel Nichter
2c4bd60fb7 Merge pt-fke-logger-2.2. 2013-02-27 16:41:28 -07:00
Daniel Nichter
a21c36ac99 Test that ::parent keeps the dbh alive for the child. 2013-02-26 16:34:48 -07:00
Brian Fraser
934709abad Fix tests broken by the previous commit 2013-02-26 12:03:12 -03:00
Daniel Nichter
8b428e28a1 Mini-overhaul pt-deadlock-logger: change --interval default from undef to 30, add --iterations, remove --print, add --quiet, use explicit --columns default, remove --collapse, change default --clear-deadlocks table to percona_schema.clear_deadlocks, refactor the code, use Cxn and Runtime, remove some global vars. 2013-02-25 17:19:32 -07:00
Daniel Nichter
6aef3e7028 Mini-overhaul for pt-fk-error-logger: make --run-time standard, remove --print, add --quiet, add --iterations, change default --interval to 30, use Cxn and Runtime, reconnect to MySQL, eval the critical operation, rewrite/update the docs. 2013-02-25 11:55:06 -07:00
Brian Fraser
8e449a1c83 pqd: Remove --type pglog, memcached, and http 2013-02-25 12:13:35 -03:00
Daniel Nichter
45a21acc0c Merge enable-version-check-by-default. 2013-02-22 10:47:57 -07:00
Daniel Nichter
831197ba07 Update t/pt-query-digest/version_check.t. 2013-02-21 16:33:45 -07:00
Daniel Nichter
364e08229d Test that --version-check works/is enabled by default. 2013-02-21 16:07:33 -07:00
Daniel Nichter
fc851caec8 Simplify checking for .bzr/ to auto-disable --version-check in dev and test envs. Update t/pt-archiver/version_check.t. Need to update all other tools... 2013-02-21 15:59:49 -07:00
Brian Fraser
4534981913 VersionCheck: Skip running if called from our bzr repo 2013-02-21 04:41:57 -03:00
Daniel Nichter
bb3dfd27fd Remove .moved files. 2013-02-19 13:04:18 -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
1726cf2bb8 Hopefully redirect MySQL 5.6 warning about -ppassword in pt-table-checksum/error_handling.t to diag. 2013-02-19 07:58:33 -07:00
Daniel Nichter
7621d2c4ce Fix skip_innodb.t tests. 2013-02-19 07:53:19 -07:00
Daniel Nichter
3f8e1a4ea6 Fix t/pt-table-sync/traces.t again. 2013-02-18 18:55:05 -07:00
Daniel Nichter
b795d7448c Add from 5.6 samples. 2013-02-18 18:51:44 -07:00
Daniel Nichter
5bb577a75b Stablize the annoyingi pt-table-checksum/basics.t tests that always change by insignificant amounts anytime we change something with sandboxes. 2013-02-18 18:51:14 -07:00
Daniel Nichter
923e643b04 Skip skip_innodb.t tests with 5.6 because it seems like InnoDB can't be disabled any longer. 2013-02-18 18:17:38 -07:00
Daniel Nichter
eb2585fb32 Various test fixes for MySQL 5.6.10 (which seems not to have mysql.hosts any longer). 2013-02-18 18:06:05 -07:00
Daniel Nichter
2b73157967 Fix some minor test issues. 2013-02-18 13:54:25 -07:00
Daniel Nichter
6d1c96e445 Seralize empty list as undef. 2013-02-18 12:51:28 -07:00
Daniel Nichter
846286d0a0 Add some pathalogical test cases and skip UTF-8 tests if DBD::mysql::VERSION <= 3.0007. 2013-02-18 12:01:26 -07:00
Daniel Nichter
8ecde260a7 Don't try https and http: use https if possible, else http. Lower timeout from 5 to 3 seconds. Start updating/fixing pt-archiver/version_check.t. 2013-02-14 09:41:52 -07:00
Daniel Nichter
4545926556 Fix get_perl_module_version(). Add 'hours until next check' to debug output. 2013-02-14 08:28:18 -07:00
Daniel Nichter
6c79f4a5c1 Update, clean up VersionCheck. Update it all tools. 2013-02-13 20:57:39 -07:00
Daniel Nichter
d023c90e8e Merge Pingback.t into VersionCheck.t and remove the former. 2013-02-12 19:47:14 -07:00
Daniel Nichter
924f3eb5da Add two tests with literal commas. 2013-02-12 13:18:12 -07:00
Daniel Nichter
0fd4f27289 Simplify and re-test Quoter::(de)serialize_list(). 2013-02-12 12:58:26 -07:00
Daniel Nichter
d9d641dea3 Fix t/pt-query-digest/samples/output_json_tcpdump021.txt. 2013-02-12 09:31:56 -07:00