Commit Graph

1448 Commits

Author SHA1 Message Date
Brian Fraser
944b2039d3 pqd: Stop reporting apdex scores 2013-01-11 13:20:39 -03:00
Brian Fraser
e925a239ff pqd: Removed --execute, --execute-throttle & --mirror 2013-01-11 13:20:19 -03:00
Daniel Nichter
526437632c Implement and test --check-spool. Make Mock/UserAgent save put and post data in an array. Make Percona/WebAPI/Client accept ready-made text resources, for multi-part resources. 2013-01-08 18:49:42 -07:00
Daniel Nichter
d68301f293 Implement and test pt-agent --run-service. 2013-01-08 13:19:55 -07:00
Daniel Nichter
f28aa90436 Finish writing and testing service scheduling code. 2013-01-08 10:55:58 -07:00
Daniel Nichter
d7f49dee8a Start writing and testing schedule_services(). 2013-01-07 17:52:37 -07:00
Daniel Nichter
baded38d2c Warn if no slaves are found. 2013-01-03 08:58:58 -07:00
Daniel Nichter
d4d081d1e6 Merge 2.1 r518. 2013-01-03 08:15:12 -07:00
Daniel Nichter
0495f9aa8a Test and implement more run_agent(). Fix as_json() for lists of resources. Add alias attrib to Service for its friendly name; make name its code-friendly name. Fix ts in log messages. 2012-12-26 17:44:19 -07:00
Daniel Nichter
66fb54e793 Fix Client to expect X-Percona-Resource-Type else links. Add headers to Mock/UserAgent. Start testing run_agent(). As TO_JSON() magic to Run so encode can encode Service contain blessed Run objs. Use BUILDARGS to convert Run as hashref to real objs. 2012-12-26 13:00:46 -07:00
Daniel Nichter
87080d44b2 Fix WebAPI::Client to always expect links: in reponse. 2012-12-26 09:16:53 -07:00
Daniel Nichter
5051abc7ec Partly working and tested pt-agent. Fix Percona/WebAPI/Client.pm. Add Percona/WebAPI/Util.pm, Percona/Test.pm, and /Test/Mock/UserAgent.pm. 2012-12-25 19:40:42 -07:00
Daniel Nichter
9241c27b7c Almost working pt-agent main process. Clean up HTTP::Micro. Add Percona/WebAPI/Util, and some basic Percona/WebAPI/Representation tests. 2012-12-25 16:51:18 -07:00
Daniel Nichter
861cc8fd96 Merge mo-cleanup -r520..524. 2012-12-24 14:41:20 -07:00
Daniel Nichter
593e64e6ec Begin to fill in pt-agent. Use new, experimental Percona::Toolkit. Remove Versions resource; add as optional attrib to Agent resource. 2012-12-24 13:17:48 -07:00
Brian Fraser
472d850be2 t/lib/VersionCheck.t: Add ourselves first to the PATH, not last, to avoid conflicts with installed versions of the toolkit 2012-12-21 12:30:54 -03:00
Brian Fraser
4f010f52dc t/lib/Percona/Toolkit.t: Test Percona::Toolkit::VERSION differently to avoid a bug in Centos 5.6 2012-12-21 09:07:21 -03:00
Daniel Nichter
e13b480116 Merge remove-3-tools 2012-12-20 17:27:38 -07:00
Daniel Nichter
bc3fb2c812 Make timing test more reasonable on fast systems. 2012-12-20 16:18:15 -07:00
Daniel Nichter
2f413383ef Update SchemaIterator.t sample files. 2012-12-20 23:08:55 +00:00
Daniel Nichter
dad38169bf Remove ndb_binlog_index from auto-skipped sys tables in SchemaIterator because it wasn't previously skipped in 5.1 and 5.5. 2012-12-20 23:05:06 +00:00
Brian Fraser
55ec4f67db t/pt-find/pt-find.t: Update plan 2012-12-20 13:55:38 -03:00
Brian Fraser
6f6a984cde t/pt-heartbeat/bugs.t: Wait for test.heartbeat in slave1 before testing 2012-12-19 13:53:13 -03:00
Brian Fraser
42484ecd10 Merged mysql-5.6-test-fixes and resolved conflicts 2012-12-19 13:47:54 -03:00
Daniel Nichter
1a9f65d7cc Only run pt-ioprofile.t if the system has strace. 2012-12-14 12:28:10 -07:00
Daniel Nichter
d25a778b9f Fix two possible sources of test errors. 2012-12-14 12:14:12 -07:00
Brian Fraser
c88258bbf4 Merged fix-1082104-pt-deadlock-logger-username-dash 2012-12-13 22:47:50 -03:00
Brian Fraser
98e63a504e Merged fix-886059-pt-heartbeat-timezones 2012-12-13 22:38:40 -03:00
Brian Fraser
0ebe4ce6ce Merged pxc-pt-heartbeat 2012-12-13 22:24:03 -03:00
Brian Fraser
d005aa1c41 Added two missing config files fort/pt-config-diff/basics.t 2012-12-13 21:47:26 -03:00
Brian Fraser
40f8903c1d Fixes to pxct. per Daniel's review 2012-12-13 21:08:43 -03:00
Daniel Nichter
c3433e767f Remove pt-hb sentinel file and docu test case. 2012-12-13 09:20:48 -07:00
Brian Fraser
f3ad4c7d56 Fix for 886059: pt-heartbeat handles timezones inconsistently 2012-12-13 00:05:06 -03:00
Brian Fraser
dcc66e8a32 Fix for 1087319: Quoter::serialize_list() doesn't handle multiple NULL values 2012-12-12 16:16:14 -03:00
Brian Fraser
3cab0e1b95 Added t/pt-deadlock-logger/samples/bug_1082104.txt & changed the username regex per Daniel's comments 2012-12-12 02:43:30 -03:00
Daniel Nichter
f84ed48707 Remove pt-log-player, pt-tcp-model, and pt-trend. 2012-12-11 18:30:30 -07:00
Daniel Nichter
6c6ae95ea3 Use literal values instead of ? placeholders for CHANGE MASTER statement. 2012-12-11 17:23:06 -07:00
Brian Fraser
9c63f61725 PXC+pt-heartbeat tests 2012-12-11 18:47:00 -03:00
Daniel Nichter
b41ae476ae Only use LOCK IN SHARE MODE with MySQL 5.1+. 2012-12-11 16:54:24 +00:00
Brian Fraser
7f68789e61 Merged fix-1086259-pt-kill-log-dsn-wrong-timestamps 2012-12-11 11:51:01 -03:00
Brian Fraser
2d78170c7a Merged fix-1078887-DSNParser-set-vars-sql_mode-clobber 2012-12-11 11:48:44 -03:00
Brian Fraser
0681986dee Merged fix-1022622-ptcd-case-sensitivity 2012-12-11 11:45:29 -03:00
Daniel Nichter
5aa853ad1f Fix test plan. 2012-12-10 18:38:45 -07:00
Daniel Nichter
2f1bb594f9 Update SlowLogParser in pqd and add test case. 2012-12-10 18:11:59 -07:00
Daniel Nichter
ec4be9a883 Add and fix test case for special 'no query' events. 2012-12-10 18:07:36 -07:00
Daniel Nichter
fd6eef65c8 Merge fix-genlog-db-bug 2012-12-10 16:41:11 -07:00
Brian Fraser
22f09f6368 pt-find.t: Create a second, old-style sakila db to do the trigger/function/proc tests 2012-12-07 19:46:51 -03:00
Brian Fraser
9f4ce57301 Add a missing .* to the backtracking explosion fix for 823431 2012-12-07 19:20:29 -03:00
Daniel Nichter
ea526799d3 Merge trunk r487. 2012-12-07 11:52:33 -07:00
Daniel Nichter
a2eaed50e4 Fix pqd/read_time.t so it doesn't access non-existent pid files. 2012-12-07 11:46:09 -07:00