Commit Graph

1448 Commits

Author SHA1 Message Date
Daniel Nichter
5ff62d6956 Fix tests. 2013-12-12 05:49:59 +00:00
Daniel Nichter
e89ce13e97 Test and fix bug 1217013. 2013-12-11 19:39:09 -08:00
Daniel Nichter
e83e1c09c4 Fix bug 1217013: exact dupe unique keys not detected. 2013-12-11 19:31:19 -08:00
Daniel Nichter
36cb76d3e9 Add test placeholder for bug 1214114. 2013-12-11 18:40:08 -08:00
Daniel Nichter
8ed6c956ac Update KeySize in pt-duplicate-key-checker to fix bug. Update all other modules too. 2013-12-11 18:17:16 -08:00
Daniel Nichter
d48d77269d Fix KeySize to handle key=<key> but key_len=0. Add failing pt-dupe-key-checker test. 2013-12-11 16:51:19 -08:00
Daniel Nichter
c726b8e624 Merge fix-pt-stalk-nfs-bug-1071979. 2013-12-10 20:50:17 -08:00
Daniel Nichter
0f9507559c Merge fix-pt-osc-find-new-table-bug-1195628. 2013-12-10 20:47:29 -08:00
Daniel Nichter
1f93caf67c Add dsn opt to Cxn::connect() to change dsn. Update Cxn in pt-agent. 2013-12-04 16:14:17 -08:00
Daniel Nichter
567c1f11e6 Add rate_limit to JSON output. 2013-11-27 18:42:20 -08:00
Daniel Nichter
c178934ab1 Combine '# Log_slow_rate_type: query Log_slow_rate_limit: 2' as 'query:2' and report as 'rate_limit' metric. 2013-11-27 18:25:55 -08:00
Daniel Nichter
bfea5c0141 Fix inconsistent test. 2013-11-26 16:27:49 -08:00
Daniel Nichter
56a32fe50b Print info about slaves found. Print --progress when waiting for new table to replicate to slaves. 2013-11-26 16:23:52 -08:00
Daniel Nichter
a84fab30c8 Update pt-agent test samples. 2013-11-07 19:03:01 -08:00
Daniel Nichter
28ec5b12bf Failing test. 2013-10-31 10:59:25 -07:00
Daniel Nichter
166173a318 Don't quote FLOAT or DOUBLE in Quoter::quote_val(). 2013-10-10 15:58:02 -07:00
Daniel Nichter
5e46d013a9 Failing test case for bug 1229861. 2013-10-10 15:44:48 -07:00
Daniel Nichter
8b640ec2ae Test and fix bug 1206728. 2013-10-10 14:36:42 -07:00
Daniel Nichter
a5b4781cda Merge fix-ptc-exit-status-bug-944051. 2013-10-10 12:25:00 -07:00
Daniel Nichter
4805b7b5c8 Note in docs: As of pt-table-checksum 2.2.5, skipped chunks cause a non-zero exit status. Also report skipped chunks due to lock wait timeout and killed query like other skipped chunks. Enhance explanation of SKIPPED column. 2013-10-10 12:21:39 -07:00
Daniel Nichter
171666a178 Test and fix --new-table-name. It works now. 2013-10-10 02:13:49 +00:00
Daniel Nichter
57c234c89d Add Query_time to pqd JSON class example. 2013-10-09 17:54:25 -07:00
Daniel Nichter
d4995b565d Add --[no]drop-triggers to pt-online-schema-change. 2013-10-09 13:23:10 -07:00
Daniel Nichter
3c2376023d Test pt-agent::send_data() with 400 error. 2013-10-09 12:10:56 -07:00
Daniel Nichter
cd29c0d7dc Make ptc exit status 0, 255, or a bitmask of flags for various problems. 2013-10-03 11:32:11 -07:00
Daniel Nichter
ccb9ac616c Make failing test better. 2013-10-02 11:26:11 -07:00
Daniel Nichter
b0cacd15f4 Improve MasterSlave::check_recursion_method() tests. 2013-10-02 11:15:58 -07:00
Daniel Nichter
2411cf6880 Add failing test case. 2013-10-02 10:53:36 -07:00
Daniel Nichter
b1bdf96927 Keep GLOBAL in distill of SHOW GLOBAL STATUS|VARIABLES. 2013-09-26 19:16:19 -07:00
Daniel Nichter
8bdfcd7838 Add 0-30s random delay to send_data(). 2013-09-23 14:56:30 -07:00
Daniel Nichter
862765db6e Fix init_agent.t. 2013-09-23 12:07:34 -07:00
Daniel Nichter
ec2343f379 Retry 403 in init_agent(), warning just once. 2013-09-23 12:06:05 -07:00
Daniel Nichter
f6f121ca82 Make init_agent() stop on 403 (too many agents). 2013-09-23 11:55:27 -07:00
Daniel Nichter
25024149be Make init_agent() tries required. Load service earlier in send_data() and run_service(). Fix init_agent.t. 2013-09-19 14:53:31 -07:00
Daniel Nichter
55621e587c Stop agent on 404 while running. Add --[no]agent-api so stop_all_services() works offline. Update sample with histo data again. 2013-09-18 15:59:30 -07:00
Daniel Nichter
3ebd66b8e9 Always create in pt-agent even if not --daemonize to avoid crash. Update test result with new histogram data. 2013-09-18 14:05:48 -07:00
Daniel Nichter
c3ff530037 Add Query_time histogram to json output. 2013-08-16 18:21:57 -07:00
Daniel Nichter
4fcb52f678 Merge fix-pt-kill-daemon-bug (bug 1209436). 2013-08-13 17:36:01 -07:00
Daniel Nichter
5f4891c795 Remove debug stuff from pt-stalk.t 2013-08-12 20:45:38 -07:00
Daniel Nichter
b54b4adb92 Use defaults-file in test config file to simulate user's setup. 2013-08-12 14:33:51 -07:00
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
Daniel Nichter
b966a0f4a3 Use ps xww because w isn't wide enough on deb with long jenkins paths. 2013-08-10 19:38:34 -07:00
Daniel Nichter
fe0e2f21c0 Add some more debug info for the deb6 failure. 2013-08-10 19:33:37 -07:00
Daniel Nichter
368dde58f1 Create log file too to help avoid race conditions because it's created only by the child. 2013-08-10 19:26:19 -07:00
Daniel Nichter
2b747d7ee3 Just run test 3 times. 2013-08-10 19:17:21 -07:00
Daniel Nichter
299a61417a Use get_cmd_pid() again to avoid race condition. 2013-08-10 19:09:31 -07:00
Daniel Nichter
3c45ce2eb3 Use get_cmd_pid() instead of slurping pid file because there's a race condition in pid file creation for which pid it contains (parent's or child's). 2013-08-10 19:02:32 -07:00
Daniel Nichter
5239779066 Add more debug info for 'Cannot find fd 0 symlink' failure. 2013-08-10 08:53:08 -07:00
Daniel Nichter
8ec7ccdbe7 Stabilize t/lib/Daemon.t. Add PerconaTest::get_cmd_pid(). 2013-08-10 08:27:09 -07:00