Commit Graph

53 Commits

Author SHA1 Message Date
Daniel Nichter 2670850a70 Functional test and fix query time diffs. 2013-03-11 19:23:02 -06:00
Daniel Nichter 51af4bde2f Fix --progress. 2013-03-11 17:38:42 -06:00
Daniel Nichter d66be7558a Test --run-time and --progress. 2013-03-11 17:12:43 -06:00
Daniel Nichter 3c07da8499 Test and fix all the log --types. Add backwards-compat null_event arg to MySQLProtocolParser. 2013-03-11 16:13:38 -06:00
Daniel Nichter 2463344060 eval the critical parts. Use specific exit codes. Add --run-time, --progress, --continue-on-error, and --defaults-file. Uncomment the version check call. Update the docs. 2013-03-11 13:28:41 -06:00
Daniel Nichter 9a33090514 Fix diff_warnings.t for MySQL 5.0. 2013-03-11 10:24:16 -06:00
Daniel Nichter 2aa2176fdd Make tests start up host2. 2013-03-11 10:05:04 -06: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 36e8696479 Update diff_rows.t and diff_warnings.t. 2013-02-18 19:27:06 -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 0c229fce51 Start rewritting pt-upgrade 2.2. 2013-02-09 13:43:14 -07:00
Daniel Nichter a672a1d98d Add QUERY_CACHE_SIZE to start-sandbox. Make t/pt-upgrade/warnings.t use 12349 instead of 12348, and start it with QUERY_CACHE_SIZE explicitly so MySQL 5.6.8 works. 2012-12-05 10:52:12 -07:00
Brian Fraser b9bfe6114c Merged fix-821715-enable-local-infile-in-dsn 2012-10-30 22:12:57 -03:00
Daniel Nichter caceb2a7b8 Re-add select-func.txt 2012-10-19 16:26:11 -06:00
Daniel Nichter a13b6d8d17 Remove select-func.txt 2012-10-19 16:25:50 -06:00
Daniel Nichter baf85aeb21 Truncate col names to 64 chars in MockSyncStream::get_result_set_struct(). Update test sample file. 2012-10-19 16:13:13 -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
Daniel Nichter 117e78a3c9 Tweak tests to recreate the original problem. 2012-10-17 12:19:55 -06:00
Daniel Nichter d8cc620c5f Add failing test case for SELECT FUNC(). 2012-10-17 11:54:28 -06:00
Brian Fraser a433fa7d1c Update modules and remove the $can_local_infile skips 2012-08-30 23:46:33 -03:00
Daniel Nichter 570b26de20 Remove LOAD DATA check from pt-archiver and pt-upgrade. Make test-env check if LOAD DATA works and PerconaTest export . Rewrite how pt-archiver/t/bulk_insert.t conditionalizes on LOAD DATA working. 2012-07-31 15:37:02 -06:00
Brian Fraser 5d8be022e9 Merge ubuntu-12-64-issues 2012-07-20 17:33:13 -03:00
Daniel Nichter c78c3bfbab Update Compare* modules in pt-upgrade. 2012-07-17 16:51:39 -06:00
Daniel Nichter 46b0c9ab0c Update output samples with new hostN. 2012-07-17 09:57:08 -06:00
Brian Fraser d43ad54b38 Missing skips for the LOCAL INFILE issue 2012-07-11 20:27:02 -03:00
Brian Fraser e0d97bbc98 pt-upgrade: Deal with LOCAL INFILE being disabled 2012-07-11 18:36:43 -03:00
Baron Schwartz 47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -04:00
Daniel Nichter 17edb54398 Wait for changes to replicate in pt-table-sync/issue_634.t. 2012-06-07 12:45:01 -06:00
Daniel Nichter 1283ceafdd Wait for slaves in pt-upgrade/rewrite_non_select.t to make it stable. 2012-06-06 23:25:51 -04:00
Daniel Nichter 12eb1bfb21 Stop 12348 in pt-upgrade tests. 2012-06-04 14:06:06 -07:00
Brian Fraser fraserb@gmail.com cf6d62a21c Make t/pt-upgrade/skip_non_select.t stop the server that it starts 2012-06-04 12:16:25 -03:00
Daniel Nichter a64bf961e8 Fix test counts. 2012-06-03 15:14:30 -04:00
Daniel Nichter a2810a0ec1 Remove duplicate calls to Sandbox::ok(). 2012-06-03 14:38:21 -04:00
Daniel Nichter bdbb66d22b Re-add calls to Sandbox::ok(). 2012-06-03 13:54:32 -04:00
Daniel Nichter a0b54b145d Merge 2.1. 2012-06-03 13:29:02 -04:00
Daniel Nichter 7e880b0808 Call Sandbox::box() in all tests that use Sandbox. 2012-06-03 12:59:56 -04:00
Daniel Nichter 89263e6465 Make test case-insenstive so it works on 5.0 as well as 5.1+. 2012-03-06 12:05:52 -07:00
Daniel Nichter 298385167e Do not use precision and scale. Use sandbox 12348 instead of 12347. Call pt_upgrade_main() instead of tool via cmd line in basics.t. 2012-02-07 12:39:25 -07:00
Daniel Nichter fe125e9cfb Fix pt-upgrade tests. 2012-02-02 09:07:18 -07:00