Commit Graph

1264 Commits

Author SHA1 Message Date
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
Brian Fraser
4b860cbd7b pqs: Removed tcpdump-errors, made the library always save the errors in a tempfile 2013-02-25 15:59:01 -03: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
1d9b013bab pqd: Removed show-all, shorten, select & print-iterations 2013-02-25 13:10:03 -03:00
Brian Fraser
78cae8b91b Removed --check-attributes-limit 2013-02-25 12:37:23 -03:00
Brian Fraser
5e8f369ab7 pqd: Replaced --print with --output slowlog 2013-02-25 12:27:13 -03:00
Brian Fraser
8e449a1c83 pqd: Remove --type pglog, memcached, and http 2013-02-25 12:13:35 -03:00
Brian Fraser
9e2ce2197f pt-ms & pt-stalk: Enable the standard mysql options 2013-02-25 11:21:46 -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
f06f930498 pt-heartbeat: Add an option to handle running on servers with read_only=1 2013-02-21 08:11:28 -03:00
Brian Fraser
4534981913 VersionCheck: Skip running if called from our bzr repo 2013-02-21 04:41:57 -03:00
Daniel Nichter
87590982e1 Rename basics.t to compare_hosts.t. 2013-02-20 19:05:02 -07:00
Daniel Nichter
678ef00516 Change Stats header lines from = to - because it's not a query class. 2013-02-20 19:00:32 -07:00
Daniel Nichter
4eedd5ecc9 Implement Hosts section for each type of use-case. 2013-02-20 18:58:20 -07:00
Daniel Nichter
cfdfbd096b Update sample output with new report sections. 2013-02-20 18:24:12 -07:00
Daniel Nichter
cb9fe1fac3 Implement all MySQL log parsers. Add report sections, and --report. 2013-02-20 18:20:55 -07:00
Daniel Nichter
0fda528700 Test comparing results to host. 2013-02-20 11:41:42 -07:00
Daniel Nichter
a4d771e991 Have ResultWriter.pm save the current db. 2013-02-20 09:37:43 -07:00
Daniel Nichter
144b4794b9 Rename results file results to rows and meta to results. Test more --save-results. 2013-02-20 09:20:17 -07:00
Daniel Nichter
92194f1711 Update samples and remove old tests. 2013-02-20 08:38:42 -07:00
Daniel Nichter
e62a02e0d3 Start testing --save-results. Let $cmd be a file in PerconaTest.pm. Remove 'at ... line N' from EventExecutor.pm errors. 2013-02-20 08:27:49 -07:00
Daniel Nichter
64d381d34a Test error diffs. 2013-02-19 17:22:52 -07: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
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
36e8696479 Update diff_rows.t and diff_warnings.t. 2013-02-18 19:27:06 -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
6f735bfb3a Largely working, but un-tested, pt-upgrade 2.2 for host-to-host comparison. Add EventExecutor.pm. 2013-02-15 19:50:54 -07:00
Daniel Nichter
550a97b9c2 First working scaffolding and fondation of host-to-host comparison. 2013-02-14 19:33:58 -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
Daniel Nichter
297b5ff2f3 TODO for timing-related test ndoesn't work on MySQL 5.6. 2013-02-12 09:23:45 -07:00