Commit Graph

26 Commits

Author SHA1 Message Date
Brian Fraser
2bc72fc139 Fix for 1086259: pt-kill in non-daemon mode logs timestamps incorrectly 2012-12-04 18:05:32 -03: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
e85e647b86 Fix 'Lost connection to MySQL server during query' errors in pt-kill/kill.t. 2012-08-22 09:37:42 -06:00
Brian Fraser
f2016ded20 Really make a test 5.0 compatible 2012-07-19 13:40:54 -03:00
Brian Fraser
a964076cc2 t/pt-kill/kill.t: Make a test 5.0 compatible 2012-07-19 13:10:12 -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
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
Baron Schwartz
649ee2c301 sleep 3 when --run-time 2, otherwise we get spurious failures 2012-06-05 11:56:56 -04: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
Daniel Nichter
bdbb66d22b Re-add calls to Sandbox::ok(). 2012-06-03 13:54:32 -04:00
Daniel Nichter
7e880b0808 Call Sandbox::box() in all tests that use Sandbox. 2012-06-03 12:59:56 -04:00
Brian Fraser fraserb@gmail.com
4e1dc7f727 pt-kill: Changes as per Daniel's review. 2012-05-01 14:14:48 -03:00
Brian Fraser fraserb@gmail.com
85756b0e94 pt-kill: Add a --log-dsn option.
This is customer issue 23049.
2012-05-01 03:27:11 -03:00
Daniel Nichter
a33031e6e4 Merge 2.0 r187. 2012-02-21 14:26:44 -07:00
Daniel Nichter
a17cbc8bd8 Add --filter to pt-kill and allow arbitrary --group-by. 2012-02-15 11:09:29 -07:00
Daniel Nichter
9383572742 Merge trunk r174. 2012-02-07 13:10:11 -07:00
Daniel Nichter
dd44a9b851 Add --test-matching to replace testing via STDIN/ARGV. 2012-01-25 11:37:10 -07:00
Daniel Nichter
0f1687608d Ignore SIGCHLD to avoid zombies. 2012-01-24 09:55:18 -07:00
Daniel Nichter
0c785d63b2 Fix pt-index-usage/basics.t by fixing pt-heartbeat/standard_options.t. Make pt-kill/basics.t dump output if tests fail. 2011-08-25 11:44:56 -06:00
Daniel Nichter
7526f97224 Fix and make tests more reliable. 2011-07-14 11:05:05 -06:00
Daniel Nichter
eb01431399 Change MaatkitTest to PerconaTest in all tool tests. Add stub tests for pt-align and pt-collect. 2011-07-12 16:56:55 -06:00
Daniel Nichter
8e11cd85b3 Change mk_tool::main() to pt_tool::main() in all tests. 2011-06-29 11:56:49 -06:00
Daniel Nichter
b4b6376be1 Add forked Maatkit tools in bin/ and their tests in t/. 2011-06-24 16:02:05 -06:00