Commit Graph

2304 Commits

Author SHA1 Message Date
Daniel Nichter
0fda528700 Test comparing results to host. 2013-02-20 11:41:42 -07:00
Daniel Nichter
4a4bee9cad Add FakeSth.pm. 2013-02-20 10:58:06 -07:00
Daniel Nichter
b591f0189b First working but not tested comparing against reference results. 2013-02-20 10:56: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
4cb51140f1 Scaffolding for saving and reading reference results. 2013-02-19 19:45:16 -07:00
Daniel Nichter
aeb26300cb Implement --upgrade-table (instead of --sys-schema). 2013-02-19 18:18:42 -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
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
80d9ab9de0 Fix util/checksum-test-dataset to work with MySQL 5.6: don't checksum log and stat tables. 2013-02-18 17:28:12 -07:00
Daniel Nichter
2b73157967 Fix some minor test issues. 2013-02-18 13:54:25 -07:00
Daniel Nichter
40fd007644 Update Quoter in all tools again. 2013-02-18 12:53:15 -07:00
Daniel Nichter
6d1c96e445 Seralize empty list as undef. 2013-02-18 12:51:28 -07:00
Daniel Nichter
97f963c7f7 Remove warning from DSNParser if using UTF-8 and DBD::mysql < 3.0008 (r508). --version-check can catch this. 2013-02-18 12:44:02 -07:00
Daniel Nichter
a07c0c0a6a Updqte Quoter in all tools. 2013-02-18 12:31:18 -07:00
Daniel Nichter
58f4f06fbb Add /usr/local/bin to PATH in jenkins-test. 2013-02-18 12:17:32 -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
4c63a36795 Make util/test-env require /etc/percona-toolkit/percona-toolkit.conf have no-version-check. 2013-02-14 09:02:12 -07:00
Daniel Nichter
877d1a3b26 Change version_check_file() to prefer global system dirs first. 2013-02-14 08:49:57 -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
07810ca867 Change --version-check to --[no]version-check, update POD text and how version_check() is called. 2013-02-13 16:06:31 -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
13172a05dc Add untested warning to DSNParser if using UTF-8 and DBD::mysql < 3.0008. 2013-02-12 19:09:25 -07:00
Brian Fraser
fd16bad016 pt-table-sync: Removed MySQLDump 2013-02-12 17:48:25 -03: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
Daniel Nichter
e677ae8483 Update to 2.2 with VersionCheck, renamed from Pingback. 2013-02-11 19:06:31 -07:00
Daniel Nichter
b6bd78d205 Rename Pingback.pm to VersionCheck.pm. 2013-02-11 19:02:59 -07:00
Daniel Nichter
c1fe363631 Merge latest 2.2 with Lmo. 2013-02-11 18:57:07 -07:00
Brian Fraser
c02844a9d6 Merged merge-VersionCheck-Pingback 2013-02-11 22:21:53 -03:00
Brian Fraser
6bf3a35a1a Merged use-lmo.
This commit renames our fork of Mo to Lmo, since the two have diverged
a huge deal. The merged branch streamlined Lmo a great deal as well,
for maintainability.
2013-02-11 21:19:56 -03:00