Commit Graph

1136 Commits

Author SHA1 Message Date
Brian Fraser fraserb@gmail.com
fa0a3b0ff5 read_timeout.t: Avoid shelling out, also laxer timing tests to avoid white smoke 2012-07-16 14:31:56 -03:00
Brian Fraser fraserb@gmail.com
4737995563 read_timeout.t: Skip the first test if STDIN isn't a tty or blocking 2012-07-16 13:38:13 -03:00
Brian Fraser fraserb@gmail.com
fa5cbc8ca3 t/pt-query-digest/mirror.t: Don't sleep(1), use wait_for_files() instead 2012-07-15 22:27:55 -03:00
Brian Fraser fraserb@gmail.com
edad060718 t/pt-query-digest/read_timeout.t: Disregard the fractional part of $waited 2012-07-15 20:00:34 -03:00
Brian Fraser fraserb@gmail.com
0af747e4f9 t/pt-query-digest/processlist.t: Mark known fragile test as TODO to avoid white smoke 2012-07-15 19:24:41 -03:00
Brian Fraser fraserb@gmail.com
03e45f97b8 t/pt-ioprofile/pt-ioprofile.t: Be slightly laxer about fractional seconds in a test to avoid white smoke 2012-07-15 19:05:12 -03:00
Brian Fraser fraserb@gmail.com
7574e19821 read_timeout.t: Try increasing the wait a second to avoid white smoke 2012-07-15 19:02:02 -03:00
Brian Fraser fraserb@gmail.com
d826c7168b Merged fix-984915-unchecked-do-calls-dsnparser 2012-07-14 23:58:17 -03:00
Brian Fraser fraserb@gmail.com
27db3bc8cf Update the code to work on current trunk.
Changes for 941469 conflicted with this fix, so this had to be updated.
2012-07-14 23:31:05 -03:00
Brian Fraser
815b4ce961 Fix the test plan for t/lib/VersionParser.t 2012-07-13 03:40:17 -03:00
Brian Fraser
0d572c3a02 Some changes that somehow went missing during the merge 2012-07-13 03:30:05 -03:00
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
f558b4b9da Fix 984915: DSNParser does not check return value of do() calls 2012-07-12 22:42:54 -03:00
Daniel Nichter
554bd01f41 Stabilize some pt-kill tests. 2012-07-12 17:26:54 -06:00
Daniel Nichter
b1c6bba43a Test that pt-kill reconnects using new util/kill-mysql-process. Fix optional DSN by adding magical options rule. 2012-07-12 16:49:15 -06:00
Daniel Nichter
dab2e5c692 Add NAME_lc arg to Cxn to prevent it from being set. Use Cxn in pt-kill to retry lost connections. Add support for pt-kill DSN. 2012-07-12 13:52:52 -06: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
Daniel Nichter
d8b0192495 Don't crash if group by attrib is empty string. 2012-07-11 15:46:58 -06: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
6269b196a3 Tweak t/lib/bash/collect.sh and t/lib/bash/report_mysql_info.sh and add wait_for_files() to util/test-bash-functions so hopefully they'll be more stable. 2012-07-10 16:33:00 -06:00
Daniel Nichter
4c7243d944 Tweak pt-table-sync/replicate_do_db.t to be more stable and give more info when certain tests fail. 2012-07-09 16:54:32 -06:00
Daniel Nichter
938b9720c1 Add RawLogParser.pm and implement --type rawlog in pt-query-digest (Percona 22371). 2012-06-28 15:04:10 -06:00
Brian Fraser fraserb@gmail.com
c87235b0ff Fix 984915: DSNParser does not check return value of do() calls 2012-06-11 22:02:49 -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
Brian Fraser fraserb@gmail.com
d387b22c07 Bug 1007938: MySQLConfig doesn't support end-of-line comments
Patch provided by Kaiwang CHEN (~kaiwang-chen) on Launchpad.
2012-06-11 12:33:45 -03: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