Commit Graph

848 Commits

Author SHA1 Message Date
Daniel Nichter
9b6f10480c Merge fix-938660-ptc-chunk-size-limit-0 2012-10-31 12:20:54 -06:00
Daniel Nichter
b5c48f07d1 Remove unused $limit. Make $chunk_size_limit || 1 because it's the one used for #-of-rows check on slaves. Reverse the new test because we don't want to disable the #-of-rows check. 2012-10-31 12:12:51 -06:00
Brian Fraser
572ee45185 Merged fix-1052722-pt-fifo-split-n-minus-1-rows-initially 2012-10-30 22:14:11 -03:00
Brian Fraser
b9bfe6114c Merged fix-821715-enable-local-infile-in-dsn 2012-10-30 22:12:57 -03:00
Daniel Nichter
376572e637 Merge fix-995896-cat-in-daemon 2012-10-30 17:04:22 -06:00
Daniel Nichter
c8b31431b0 Handle slurp_file error specifically. Fix Daemon.t test plans. 2012-10-30 16:57:06 -06:00
Brian Fraser fraserb@gmail.com
1e3cc6131c Fix for 938660: pt-table-checksum chunk-size-limit of 0 does not disable chunk size limit checking 2012-10-30 11:55:49 -03:00
Daniel Nichter
3d03a3a0dc Don't run binlog_tests unless MySQL 5.1+. Use output() instead of full_output(). 2012-10-26 16:52:24 -06:00
Daniel Nichter
7cc7d7e729 Make pt-archiver --sleep tests more precise and reliable. 2012-10-25 16:21:43 -06:00
Daniel Nichter
7b5e2fc7a2 Don't use literal values for t/pt-heartbeat/basics.t 'It is being updated' test. Use direct call rather than backticks. 2012-10-25 15:57:22 -06:00
Daniel Nichter
5b4b3886b2 Fix t/pt-slave-delay/auto_restart.t and use direct call, no backticks. 2012-10-25 15:36:24 -06:00
Daniel Nichter
e69f1f24d0 Remove $Sandbox::Percona::Toolkit::VERSION and use $Percona::Toolkit::VERSION instead since it's the authoritative version. 2012-10-24 13:52:10 -06:00
Daniel Nichter
33f75e069d Fix some test plans. 2012-10-24 13:36:32 -06:00
Daniel Nichter
9b920bc5a5 Conditionalize the number of files expected: 14 or 15 depending on if the box has a default my.cnf somewhere. 2012-10-24 13:03:45 -06:00
Daniel Nichter
70b666add9 Update pt-mysql-summary.t. 2012-10-24 12:46:22 -06:00
Daniel Nichter
b6072ab011 Only cat cnf file > mysql-config-file if it exists. 2012-10-24 12:43:26 -06:00
Daniel Nichter
a94605c825 Use sys default cnf file since test machines have different ones. 2012-10-24 12:08:30 -06:00
Daniel Nichter
aacdd9db17 Rewrite find_my_cnf_file() so if a port is given only that port's cnf is returned, else nothing. 2012-10-24 11:17:34 -06:00
Daniel Nichter
c077b1eb3d Include collector output in diag. 2012-10-23 17:51:59 -06:00
Daniel Nichter
d97912ef1c Even more waiting for _really_ slow Ubuntu 12 box. 2012-10-23 17:31:05 -06:00
Daniel Nichter
78e1f95257 Really wait for expected data in files. 2012-10-23 17:20:05 -06:00
Daniel Nichter
36ca6bbc23 Make "not stalking" tests more reliable. 2012-10-23 16:54:45 -06:00
Daniel Nichter
8ef6ee451f Wait for collectors before exiting. Use wait_until instead of sleep in pt-stalk.t, and add lots of diag info when tests fail. 2012-10-23 14:42:41 -06:00
Daniel Nichter
b406f02f5b Test and fix deadlock parsing with partition info. 2012-10-22 15:30:29 -06:00
Brian Fraser fraserb@gmail.com
4a22e1e545 Fix for 1052722: pt-fifo-split is processing n-1 rows initially 2012-10-22 18:04:38 -03:00
Daniel Nichter
af1240b6f6 Test cases. 2012-10-22 12:16:42 -06:00
Daniel Nichter
e9c24579bf Merge fix-pt-osc-del-trg-bug-1062324. 2012-10-22 11:34:52 -06:00
Daniel Nichter
046c4c7cc0 Make CompareResults.t stable--yet another case of not waiting for replication. 2012-10-20 20:18:55 -06:00
Daniel Nichter
4a494d1a20 Remove all_privs tests. Update Percona::Toolkit::VERSION. 2012-10-20 17:59:28 -06:00
Daniel Nichter
be50548f3b Fix RawLogParser.t. Use diag in PerconaTest.pm. 2012-10-20 13:32:12 -06:00
Daniel Nichter
85a0616ec3 Redirect sys cmd 2>/dev/null in pt-kill tests to avoid false-positive errors. 2012-10-20 13:26:33 -06:00
Daniel Nichter
e32289ae0c Merge fix-938068-ptc-slave-binlog-formats 2012-10-19 17:01:15 -06:00
Daniel Nichter
d7bfcc8fd9 Tweak warning. Enhance docu around --check-binlog-format. 2012-10-19 16:57:53 -06: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 fraserb@gmail.com
8f23c5a353 Fix for 938068: pt-table-checksum doesn't warn if binlog_format=row or mixed on slaves 2012-10-17 11:54:16 -03:00
Daniel Nichter
328b7f1e0e Merge fix-deleting-empty-files-bug-1047701 2012-10-13 14:15:37 -06:00
Daniel Nichter
c060b650f2 Remove pt conf files before running Jenkins test else they can cause weird results. Make pt-stalk --collect run-time test more liberal. 2012-10-13 12:58:55 -06:00
Brian Fraser fraserb@gmail.com
df2278b95c Merged fix-903229-pt-mysql-summary-case-insensitivity-for-engines 2012-10-12 17:38:12 -03:00
Brian Fraser fraserb@gmail.com
b71ceeaadb Merged raw-log-parser-percona-22371 2012-10-12 14:19:55 -03:00
Daniel Nichter
5581dd8383 Make HTTPMicro.t test names unique. 2012-10-12 10:24:17 -06:00
Daniel Nichter
e125851f47 Update the test's sample output. 2012-10-11 17:02:25 -06:00
Daniel Nichter
ba786e9e11 Correct code comment. 2012-10-11 15:21:55 -06:00
Daniel Nichter
77485efdbc Use new tbl indexes to create delete trigger. 2012-10-11 15:20:53 -06:00
Daniel Nichter
793296dfc9 Make pt-table-checksum/run_time.t more reliable. 2012-10-06 12:19:00 -06:00
Daniel Nichter
9f2f0f2c38 Sort items in Pingback.t like they're sorted in Pingback.pm to avoid failing tests on some platforms. 2012-10-06 11:39:02 -06:00