Commit Graph

613 Commits

Author SHA1 Message Date
Brian Fraser
30cc4892cf bzr update'd the code for assorted VersionParser fixes 2012-07-13 01:39:40 -03:00
Brian Fraser
42649bc1d2 Add t/lib/Mo and a bunch of tests 2012-07-13 00:43:17 -03:00
Brian Fraser
ccccafd4df Test VP->flavor and fix some udnerlaying buys 2012-07-12 23:37:53 -03:00
Brian Fraser
c5555234c1 VersionParser::normalized_version: Don't use _version_split, use the values from methods instead 2012-07-12 23:15:01 -03:00
Brian Fraser
0277f19f6d t/pt-archiver/bulk_insert.t: Don't assume that the db is already there 2012-07-12 14:14:47 -03:00
Brian Fraser
fdcc9a2290 Add missing VersionParser dependency to t/lib/CompareResults.t 2012-07-12 06:25:08 -03:00
Brian Fraser
f9f8c4a675 Increase the timeout for t/pt-table-checksum/throttle.t to avoid white smoke 2012-07-11 20:33:35 -03: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
Brian Fraser
e9c9608c33 pt-archiver & tests: Deal with LOAD DATA LOCAL INFILE being disabled.
This occasionally shows up in some OSs, like Ubuntu 12.04 LTS.
2012-07-11 17:31:03 -03:00
Brian Fraser
f38512c0d1 t/pt-online-schema-change/sanity_checks.t: use full_output() 2012-07-11 17:30:37 -03:00
Brian Fraser
c00598d3fb Two VersionParser oversights in pt-table-sync 2012-07-11 16:46:54 -03:00
Brian Fraser
8179b1f1a1 Updated the tests to use the new VersionParser 2012-07-11 15:21:47 -03:00
Daniel Nichter
18073bd7a2 Remove --[no]zero-bool from pt-query-digest. 2012-06-11 20:43:05 -04:00
Brian Fraser fraserb@gmail.com
bc8f5a610c Change TMPDIR to PT_TMPDIR 2012-06-11 17:51:43 -03:00
Daniel Nichter
bf2a769536 Export TMPDIR to make tmpdir.t pass. 2012-06-11 13:28:14 -07:00
Brian Fraser fraserb@gmail.com
07081d5761 tmpdir.sh: Use the -t flag for mktemp 2012-06-11 17:07:38 -03:00
Daniel Nichter
69ba6c4efd Reset nibble_time for each chunk. 2012-06-11 14:43:18 -04:00
Daniel Nichter
c9ace1b931 Failing test for SKIPPED if chunk # > 1. 2012-06-11 14:04:41 -04:00
Daniel Nichter
3f2295ec46 Implement IndexLength in pt-table-checksum and pt-online-schema-change. Tag the IndexLength queries with "key_len" and make n_index_cols optional--get full key_len if not given. 2012-06-11 12:54:26 -04:00
Daniel Nichter
4f3bdabf7c Failing test for key_len with --chunk-index-columns. 2012-06-11 11:58:16 -04:00
Daniel Nichter
fa9cf03505 Add IndexLength.pm. 2012-06-11 11:47:03 -04:00
Daniel Nichter
d46a89d810 Merge: t/pt-online-schema-change/alter_active_table.t: Don't bail out if there was a test failure. 2012-06-11 08:26:32 -04:00
Daniel Nichter
823cedd9ba Add --chunk-index-columns to pt-table-checksum. 2012-06-11 08:07:18 -04:00
Daniel Nichter
583bc2957e Don't crash if N is > number of index columns. 2012-06-11 07:55:23 -04:00
Brian Fraser fraserb@gmail.com
09c79c2596 t/pt-online-schema-change/alter_active_table.t: Don't bail out if there was a test failure. 2012-06-11 00:19:34 -03:00
Daniel Nichter
28637d8c95 Remove check_tables.t because it's from 2.0 (removed in 2.1 r228). 2012-06-10 22:31:48 -04:00
Daniel Nichter
970f7d7e64 Merge ~percona-toolkit-dev/percona-toolkit/explain-checksum-chunks. 2012-06-10 13:25:44 -04:00
Daniel Nichter
f890ceafb7 Rename pt-online-schema-change/check_tables.t.THIS. 2012-06-10 13:23:06 -04:00
Daniel Nichter
60063f17a0 Implement and test --chunk-index index:n. 2012-06-10 10:43:42 -04:00
Daniel Nichter
272f963733 Remove --chunk-index-columns and extend --chunk-index instead to take INDEX:N value. Add n_index_values to TableNibbler. 2012-06-10 10:01:25 -04:00
Daniel Nichter
2a92a0a0ff Check key_len for each chunk to ensure it doesn't decrease. Add --[no]check-plan. 2012-06-09 22:23:00 -04: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
Baron Schwartz
8e9dfeec68 Some fixes for ANSI SQL quotes 2012-06-07 14:53:47 -04:00
Baron Schwartz
f7c97e749e Make TableParser.pm handle ANSI quotes 2012-06-07 00:59:59 -04:00
Brian Fraser fraserb@gmail.com
ba2ddf682b Changed all the pt-osc tests to use full_output, since output uses eval {} 2012-06-07 17:46:19 -03:00
Baron Schwartz
aa42210f72 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:36:07 -04:00
Baron Schwartz
b9304dabb5 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:14:20 -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
fb64cdda99 Wait for changes to replicate in pt-table-sync/bugs.t. 2012-06-07 12:43:18 -04:00
Daniel Nichter
79c716d358 Remove pt-table-sync/issue_79.t (it was broken but coincidentally working) and write better tests in filters.t. Add subs to Sandbox and PerconaTest to clear and parse tables used from the general logs. Set log=genlog in the sandbox configs. 2012-06-07 12:38:45 -04:00
Brian Fraser fraserb@gmail.com
03a9461daf Removed PerconaTest::{wait_until_no_lag|wait_until_slaves_running}, replaced them with Sandbox::wait_for_slaves 2012-06-07 12:00:40 -03:00
Daniel Nichter
dac0731251 Remove PerconaTest::wait_for_table() after calls to Sandbox::load_file() which now implicitly calls Sandbox::wait_for_slaves(). 2012-06-07 10:25:44 -04:00
Baron Schwartz
4af46e81f9 Make t/pt-online-schema-change/alter-active-table.t less fickle, but still not 100% fixed 2012-06-06 16:45:13 -04:00
Daniel Nichter
6614cae630 Make pt-table-sync/binlog_format.t stable. 2012-06-07 09:30:05 -04:00
Daniel Nichter
312169a4c0 Make t/pt-archiver/issue_1225.t by waiting for the table. 2012-06-07 08:11:25 -04:00
Baron Schwartz
9e4e97ca03 fix timing issue in t/pt-slave-delay/standard_options.t 2012-06-06 14:05:36 -04: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
baron
a76143f772 fix a timing issue in pt-ioprofile.t 2012-06-06 22:55:19 -04:00
Baron Schwartz
673058e012 put some feedback in t/pt-online-schema-change/basics.t for impatient testers 2012-06-06 13:15:33 -04:00