Commit Graph

1366 Commits

Author SHA1 Message Date
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
Daniel Nichter
fdb9f5f291 Test debug. 2013-08-09 20:24:14 +00:00
Daniel Nichter
4babbc703c Test debug. 2013-08-09 20:20:19 +00:00
Daniel Nichter
732a5b90f4 Test debug. 2013-08-09 20:09:48 +00:00
Daniel Nichter
8a959cb6ad Test debug. 2013-08-09 20:04:25 +00:00
Daniel Nichter
6e7d1e851c Test debug. 2013-08-09 19:50:49 +00:00
Daniel Nichter
9e4bcf0324 Remove headers from pt-diskstats bug 1035311 tests because they're not consistent everywhere. 2013-08-09 18:54:14 +00:00
Daniel Nichter
1987744a1d Clean up t/pt-diskstats/pt-diskstats.t and update samples: I'm guessing the diff is just cosmetic since no data has changed. 2013-08-09 17:18:44 +00:00
Daniel Nichter
08154b84cf Fix sorting of results for t/pt-mext/pt-mext.t. 2013-08-08 20:50:34 +00: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
dc2ac4a9f1 Failing test case: t/pt-archiver/bugs.t. 2013-08-07 19:18:51 -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
952ebc574c Fix 'unexpectedly succeeded' in t/pt-query-digest/processlist.t. 2013-08-03 14:06:08 -07:00
Daniel Nichter
9059853136 Handle IF [NOT] EXITS for ddl statements in distill. 2013-08-03 14:01:25 -07:00
Daniel Nichter
7c3cd71cb3 Update/fix binlog_analyses.t for real. 2013-08-03 12:45:05 -07:00
Daniel Nichter
50ac38ad58 Update t/pt-query-digest/binlog_analyses.t now that INSERT without INTO parses correctly. 2013-08-03 12:39:18 -07:00
Daniel Nichter
ba2545d4c6 Fix empty json report test. 2013-08-03 12:36:26 -07:00
Daniel Nichter
f9b005b083 Use new Daemon API. 2013-08-03 12:29:08 -07:00
Daniel Nichter
e192a90b77 Fix test for empty log when output is not json. 2013-08-03 12:18:04 -07:00
Daniel Nichter
6bea58572d Total fix for LOAD DATA distill in pqd. 2013-08-03 12:17:05 -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
b5a135d6e5 Failing pqd test case. 2013-08-03 11:29:16 -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
b14a478f3c Test --output json-anon. 2013-07-01 13:59:12 -07:00