Commit Graph

65 Commits

Author SHA1 Message Date
Carlos Salguero f6d2e89027 Fixed all tests for MySQL 5.7
Most of the failing tests were failing due to changes in MySQL 5.7
default sql_mode and because of invalid timestamps ('0000-00-00')
2017-05-03 15:48:11 -03:00
Carlos Salguero e6e54839bf More tests for 5.7 fixed 2017-04-28 17:15:53 -03:00
Carlos Salguero 972c810962 Fixed pt-mysql-summary & pt-upgrade tests 2017-01-18 11:12:07 -03:00
frank-cizmich 66470938d7 fixed pt-upgrade tests for 5.7 compatibility 2016-01-16 19:50:18 -03:00
Frank Cizmich 1a99478b10 pt-upgrade-fails-to-aggregate-queries-based-on-fingerprint-1421405 2015-04-09 13:17:32 -03:00
Frank Cizmich 3fd9083f34 Added info in doc. Minor test tweak 2015-04-06 18:48:06 -03:00
Frank Cizmich ade9a283d4 pt-upgrade failed to group by fingerprint & reported wrong number of diffs as reason for report 2015-04-01 16:45:23 -03:00
Frank Cizmich 162350a804 pt-upgrade failed on SELECT..INTO statements 2015-03-30 16:20:18 -03:00
Daniel Nichter 362d80f7e8 Fix NULL vs. NULL comparison. 2013-06-26 12:26:34 -07:00
Daniel Nichter cefc0d3065 Add failing unit test. 2013-06-26 12:09:43 -07:00
Daniel Nichter 61a0770972 Add failing test. 2013-06-26 12:07:06 -07:00
Daniel Nichter 927a3b2ed1 Test bug 942377. 2013-03-13 16:54:53 -06:00
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