Commit Graph

689 Commits

Author SHA1 Message Date
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
Daniel Nichter
5f2311e274 Fix t/lib/QueryReportFormatter.t 2013-08-08 20:27:51 +00:00
Daniel Nichter
9e4b54b834 Fix t/lib/VersionCheck.t. 2013-08-08 12:36:07 -07:00
Daniel Nichter
f62e395b38 Fix t/lib/Percona/Toolkit.t and t/lib/Percona/WebAPI/Client.t. 2013-08-08 12:34:29 -07:00
Daniel Nichter
a387fb35be Fix t/lib/Percona/Toolkit.t. 2013-08-08 10:57:12 -07:00
Daniel Nichter
02b5042b9b Fix VariableAdvisorRules: test didn't pass mysql_version and rule didn't check if it's defined. 2013-08-08 08:35:19 -07:00
Daniel Nichter
ef4a56a8fe Test and fix OptionParser so string opts don't consume the next opt if not string value is given. 2013-08-07 19:02:11 -07:00
Daniel Nichter
9059853136 Handle IF [NOT] EXITS for ddl statements in distill. 2013-08-03 14:01:25 -07:00
Daniel Nichter
484274d8ba Fix get_tables() for LOAD DATA. 2013-08-03 12:11:56 -07:00
Daniel Nichter
8732b27e4e Make t/lib/samples/slowlogs/slow051.txt syntactically correct. 2013-08-03 11:55:27 -07:00
Daniel Nichter
1ed23c7845 Update modules in pt-query-digest to fix bug 821692 and bug 984053. Replace HTTPMicro with HTTP::Micro. 2013-08-03 11:50:15 -07:00
Daniel Nichter
e66415764d Strip backticks from LOAD DATA table name. 2013-08-03 11:44:41 -07:00
Daniel Nichter
cce1420736 Failing test cases for bug 821692 and bug 984053. 2013-08-03 10:50:17 -07:00
Daniel Nichter
51e476c6a2 Fix bug: a typo in NibbleIterator::_find_best_index(). 2013-07-10 10:23:28 -07:00
Daniel Nichter
89524dbefa Failing test case. 2013-07-10 10:16:07 -07:00
Daniel Nichter
dfcfdd292a Test case and fix: remove multi-line comments before -- one line comments. 2013-06-27 11:53:06 -07:00
Daniel Nichter
9b38740a54 Merge fix-1176010-pqd-grouping-quoted-vals. 2013-06-26 16:10:41 -07:00
Daniel Nichter
bddc889f97 Add failing test and samples for deep recursion. 2013-06-25 16:15:50 -07:00
Daniel Nichter
bcc6da2919 Failing test for --set-vars var=0. 2013-06-25 15:28:48 -07:00
Daniel Nichter
0736427bbf Megre pt-agent branch. 2013-06-16 23:23:11 -07:00
Daniel Nichter
84c8906de4 Create lib/Safeguards.pm to implement new --disk-bytes-free and --disk-pct-free in pt-agent. 2013-05-15 13:27:44 -07:00
Brian Fraser
5cce618f86 Fix for 1176010: pt-query-digest should know how to group quoted and unquoted database names 2013-05-03 10:19:42 -03:00
Daniel Nichter
7cee5a480e Add ts to Service resource. Rewrite how pt-agent handles applying services: use new meta attrib to find real service, then look for start-service and stop-service; schedule anything with a run_schedule or spool_schedule. Remove Percona/WebAPI/Util. 2013-04-18 16:47:15 -06:00
Brian Fraser
c167e590d4 Merged fix-1156901-skip-retry-check-for-repl-threads 2013-04-16 17:49:25 -03:00
Brian Fraser
ae8487311c Merged fix-1160918-restore-show-all 2013-04-16 17:48:05 -03:00
Brian Fraser
ce3e868fa6 Fix for 1160338: pt-query-digest 2.2 prints unwanted debug info on tcpdump parsing errors 2013-04-16 12:20:34 -03:00
Brian Fraser
d8a3d217ef Minor tweaks to the tests 2013-04-16 11:46:14 -03:00
Brian Fraser
c80c5c38a8 Processlist.pm: Skip checking for a restarted query if looking at a replication thread 2013-04-16 11:37:32 -03:00
Brian Fraser
1dcc6904f3 pqd: Restore the --show-all option 2013-04-08 09:53:52 -03:00
Daniel Nichter
3d5325ae03 Rewrite Daemon.pm: don't require an OptionParser, one public func, run(), that does the whole daemonize process or just check the PID file. 2013-04-05 12:16:16 -06:00
Daniel Nichter
afa6533f43 Fix and test resource_diff(). 2013-03-27 11:12:38 -06:00
Daniel Nichter
9286765076 Merge 2.2.1 to get pqd without --output json. 2013-03-19 11:36:21 -06:00
Daniel Nichter
84ab975438 Fix query time diff formatting in pt-upgrade. 2013-03-14 09:20:54 -06:00
Brian Fraser
d3612481c2 Merged remove-ptqa 2013-03-13 16:55:22 -03:00
Brian Fraser
ea90c02b72 Fixed assorted test failures 2013-03-13 16:49:44 -03:00
Daniel Nichter
5ddfb95ca7 Fix lib/Cxn.pm that didn't merge correctly. Fix t/lib/OptionParser.t test failure. Update Cxn, OptionParser, and DSNParser in all tools. 2013-03-13 12:38:45 -06:00
Brian Fraser
8dba4e5ef8 Removed t/lib/QueryAdvisorRules.t 2013-03-13 12:30:44 -03:00
Brian Fraser
901a964713 Fix t/lib/Advisor.t 2013-03-13 12:21:14 -03:00
Brian Fraser
55bb01bb6e Removed pt-query-advisor 2013-03-13 11:50:08 -03:00
Daniel Nichter
b2809f2a0c Fix and test UpgradeResults::format_query_times001(). 2013-03-11 18:51:43 -06:00
Daniel Nichter
3c07da8499 Test and fix all the log --types. Add backwards-compat null_event arg to MySQLProtocolParser. 2013-03-11 16:13:38 -06:00
Daniel Nichter
f00d53adc3 Fix and test read-only handling in QueryIterator. 2013-03-11 14:28:39 -06:00
Daniel Nichter
270962ad54 Merge 2.2 r551. 2013-03-11 10:51:30 -06:00
Daniel Nichter
e3346332e1 Merge pt-ms-pt-stalk-standard-mysql-options. 2013-03-09 11:57:41 -07:00
Daniel Nichter
828ff38078 Merge clean-up-pqd-2.2. 2013-03-09 10:24:56 -07:00
Brian Fraser
a3dd5d7ba6 Split the QueryHistory tests out of QueryReview.t 2013-03-07 11:29:30 -03:00