Commit Graph

276 Commits

Author SHA1 Message Date
Brian Fraser fraserb@gmail.com c2bb24befc Merged lp:~percona-toolkit-dev/percona-toolkit/replace-MKDEBUG 2012-06-06 14:15:05 -03:00
Daniel Nichter 8d344b421b Skip Daemon.t test that's not reliable, and wait until pid file is gone. Call wipe_clean() in pt-table-sync/bidirectional.t and pt-table-sync/issue_1065.t. 2012-06-06 09:07:43 -07:00
baron dcf2268514 Change precision/scale/size for decimal type based on DBD::mysql version 2012-06-06 10:51:25 -04:00
Brian Fraser fraserb@gmail.com 85e9996b55 t/lib/Daemon.t: Make the timing tests slightly more forgiving for slow machines 2012-06-06 11:40:03 -03:00
Daniel Nichter 0e4b01bad7 Make wipe_clean() wait until 12347 is clean. Fix ChangeHandler.t, CompareResults.t, and Quoter.t so they leave the dbs clean. 2012-06-05 19:55:03 -07:00
Daniel Nichter 4c57313785 Make ChangeHandler.t clean up its dbs on slave1 and slave2. 2012-06-05 19:02:15 -07:00
Daniel Nichter e960fcb8bc Make ChangeHandler.t clean up its dbs. 2012-06-05 19:00:25 -07:00
Daniel Nichter 2d7cc5e8a4 Check for leftover databases. Fix MasterSlave.t so it doesn't leave leftover dbs and it resets 12347. 2012-06-05 18:55:32 -07:00
Brian Fraser fraserb@gmail.com 345a21a82e Replace the last instances of MKDEBUG 2012-06-05 12:28:36 -03:00
baron 4906b52d3b Make sure t/pt-slave-delay/auto_restart.t doesn't break replication on 12347 after restarting 12346; silence some noise from t/lib/MasterSlave.t when it restarts instances (mysqld will print warnings about thread_stack on mysql5.0) 2012-06-05 10:58:59 -04:00
Brian Fraser fraserb@gmail.com c4a8a67204 t/lib/SchemaIterator.t: Update the samples and skip the percona_test db when applicable 2012-06-05 16:01:37 -03:00
Daniel Nichter 04d6a51074 Fix TableParser.t modifying mysql.user and mysql.db, and pt-online-schema-change/basics.t modifying mysql.proc. 2012-06-05 11:51:33 -07:00
Brian Fraser fraserb@gmail.com 6ede613752 VersionParser: Allow laxer version numbers, introduce the other cmp methods. 2012-06-05 13:50:41 -03:00
Brian Fraser fraserb@gmail.com b2312e068f SchemaIterator: Use different test files for 5.1 and 5.5 2012-06-04 23:24:50 -03:00
Brian Fraser fraserb@gmail.com 22de87c4eb t/lib/SchemaIterator.t: Ignore commas at the end of statements 2012-06-04 22:15:04 -03:00
Brian Fraser fraserb@gmail.com 939e9a84b6 t/lib/SchemaIterator.t: Samples for 5.5 and more robust fix for the ordering issue. 2012-06-04 21:48:55 -03:00
Baron Schwartz 7840006654 average row size is more variable than we used to believe 2012-06-04 10:33:07 -04:00
Baron Schwartz 9166ffc424 fix for mysql5.5 2012-06-04 10:09:37 -04:00
Baron Schwartz 636da6e755 skip failing test on 5.5 because it's a zombie 2012-06-04 08:13:20 -04:00
Baron Schwartz aec4ad69d3 fix test for MySQL 5.5's differences 2012-06-04 08:08:45 -04:00
Brian Fraser fraserb@gmail.com ccd1e58785 t/lib/SchemaIterator.t shouldn't assume that the order of the foreign key constraints is deterministic 2012-06-04 18:39:10 -03:00
Brian Fraser fraserb@gmail.com 1a47970469 Roll back the SchemaIterator samples change.
Turns out that the order isn't exactly deterministic; There's
something weird going on here, so this commit revers the
previous fix.
2012-06-04 18:23:31 -03:00
Brian Fraser fraserb@gmail.com 865b3e4e9d collect_system_info shouldn't assume that sysctl is available.
It isn't on CentOS 5.5. It didn't really assume that it
was always there, but rather than the produced samples file
would be.
2012-06-04 11:57:44 -03:00
Baron Schwartz 40017ec5bd Skip utf8 tests when DBD::mysql less than 4.0 2012-06-04 00:23:55 -04:00
Baron Schwartz eb1cc3da5e fix nondeterministic wait_for_master test 2012-06-03 22:18:44 -04:00
Baron Schwartz 48f642551e fix some problems that happen when there are many mysqld instances 2012-06-03 20:53:57 -04:00
Baron Schwartz da86c409da schema for mysql5.5 2012-06-03 20:53:52 -04:00
Daniel Nichter e8d9781123 Merge changes. 2012-06-03 14:51:03 -07:00
Daniel Nichter 696a3b5e68 Fix mem/file size shortening in pt-summary and pt-mysql-summary. 2012-06-03 14:49:35 -07:00
Baron Schwartz 9569e0d317 Fix schema tests for mySQL 5.5 changes 2012-06-03 17:47:32 -04:00
Baron Schwartz 219ff6b49b Fix the column size information for MySQL 5.5 changes 2012-06-03 17:30:24 -04:00
Baron Schwartz 6cc17a73c2 A few miscellaneous changes, including a fix for metadata locking and wipe_clean in Sandbox.pm 2012-06-03 17:20:12 -04:00
Brian Fraser fraserb@gmail.com 614befac1d Update the ordering of SchemaIterator's samples. 2012-06-03 16:50:08 -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
Baron Schwartz de4064f575 make NibbleIterator.t more flexible for differences in EXPLAIN estimates 2012-06-03 14:13:35 -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 09ddcd641e Merge advisor-json-output and clean up pt-query-advisor docs. 2012-06-01 09:13:11 -06:00
Brian Fraser fraserb@gmail.com 7fb28b0081 Name the tests for 923896's fix 2012-05-30 11:36:44 -03:00
Brian Fraser fraserb@gmail.com 20d6ccff9e Fix for 923896 2012-05-27 23:28:35 -03:00
Daniel Nichter fcd8958fb7 Validate --max|critical-load early and strongly, and check that the var exists and is defined. 2012-05-25 15:27:23 -06:00
Daniel Nichter bbe6125d8f Validate --max|critical-load (work in progress). 2012-05-25 12:15:11 -06:00
Daniel Nichter 4b6fe95c6c Handle MySQL 5.5 named values for concurrent_insert. 2012-05-24 14:52:11 -06:00
Daniel Nichter 026d95ac24 Separate DSN parts using escaped commas instead so bareword values work. 2012-05-24 10:56:04 -06:00
Daniel Nichter 15146353f9 Use regex to split DSN parts to allow commas in values. 2012-05-24 10:32:39 -06:00
Daniel Nichter 491c076e75 Implement retry_on_error for Pipeline processes. Retry iteration proc twice, then fail completely. Fix mirror.t. 2012-05-23 16:07:05 -06:00
Daniel Nichter e969d8d9f7 Implement and test --recursion-method=none in MasterSlave.pm and pt-table-checksum. 2012-05-17 08:11:30 -06:00
Daniel Nichter 350aa3a344 Merge fix-dupe-key-bug-894140. 2012-05-14 19:10:50 -06:00