Commit Graph

19 Commits

Author SHA1 Message Date
Daniel Nichter
9d4f23fe53 Move --log-dsn tests from kill.t to log_dsn.t. Pass actual dsn, not retval of get_cxn_params() to Cxn. Add Sandbox::get_cnf(). 2013-08-12 14:19:57 -07:00
Daniel Nichter
c596331280 Move --log-dsn vars to outter scope to fix the rare Perl 5.8 scope-closure bug. 2013-08-12 09:11:53 -07:00
Brian Fraser
42484ecd10 Merged mysql-5.6-test-fixes and resolved conflicts 2012-12-19 13:47:54 -03:00
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
9b97298721 Don't use -pmsandbox because 5.6 mysql cli warns that it's not safe. Plus, /tmp/PORT/use already adds --defaults-file=/tmp/PORT/my.sandbox.cnf. 2012-12-01 11:17:18 -07: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
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
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
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