Commit Graph

3706 Commits

Author SHA1 Message Date
Daniel Nichter
1481494ef1 Merge lp:~percona-toolkit-dev/percona-toolkit/staging-test-suite-error-fixes r362 2012-08-15 21:24:47 -06:00
Daniel Nichter
4bd763b52c Merge staging-test-suite-error-fixes 2012-08-15 19:43:52 -06:00
Daniel Nichter
369dd4fb7f Merge fix-pt-dupe-key-bug-1036804 2012-08-15 16:41:25 -06:00
Daniel Nichter
310105b976 Eval checking each table in case the table goes away. 2012-08-15 16:35:45 -06:00
Daniel Nichter
3369a6c37d Don't auto-vivify clustered_key hashref in PTDEBUG. 2012-08-15 16:24:19 -06:00
Brian Fraser
d92c85733e CleanupTasks: Older Perl compat 2012-08-15 17:28:52 -03:00
Daniel Nichter
8c963bb007 Merge lp:~percona-toolkit-dev/percona-toolkit/test-suite-noise 2012-08-15 13:30:50 -06:00
Daniel Nichter
136fb07cf6 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-test-suite-errors 2012-08-15 13:30:21 -06:00
Daniel Nichter
9d809ce5ea Use int($flags) to prevent fcntl(F_SETFL) error. Clean up ReadKeyMini.pm and Diskstats.t. 2012-08-15 13:28:14 -06:00
Daniel Nichter
f4b07e5eba Full Diskstats.t. 2012-08-15 13:11:12 -06:00
Daniel Nichter
75295707de Disable tty check. 2012-08-15 13:06:38 -06:00
Daniel Nichter
3bb0694d1d Re-enable Daemon.t. 2012-08-15 13:03:30 -06:00
Daniel Nichter
b5d7e7d0b6 More debug hacks. 2012-08-15 12:58:55 -06:00
Daniel Nichter
53c382730a See if STDIN is tty. 2012-08-15 12:52:34 -06:00
Daniel Nichter
523a74da36 More debug hacks. 2012-08-15 12:27:37 -06:00
Daniel Nichter
d00702f193 Even more debug hacks. 2012-08-15 11:54:01 -06:00
Brian Fraser
6952234127 t/pt-archiver/basics.t: Skip some --bulk-insert tests if LOCAL INFILE is disabled 2012-08-15 14:33:04 -03:00
Daniel Nichter
1ae35a2241 More debug hacks. 2012-08-15 11:23:00 -06:00
Brian Fraser
d2b854cd9d CleanupTask: Restore STDERR and STDOUT to what they were when the object was created 2012-08-15 14:00:52 -03:00
Daniel Nichter
4e4a28bff6 Debug hack for ReadKeyMini::cooked(). 2012-08-15 10:31:18 -06:00
Brian Fraser
2e38f936a6 Silence rollback warnings in t/lib/DSNParser.t 2012-08-15 13:26:13 -03:00
Daniel Nichter
69dcd1ff30 Merge remove-tests-that-reset 2012-08-14 17:19:36 -06:00
Daniel Nichter
92a36715c4 Remove test-env reset. Fix pt-fifo-split plan. 2012-08-14 17:08:06 -06:00
Daniel Nichter
ca96d11473 Merge copy-dsn-F-bug-1034170 2012-08-14 16:32:48 -06:00
Daniel Nichter
a42c6abaec Set DSN F copy to yes in pt-table-checksum. 2012-08-14 15:51:48 -06:00
Daniel Nichter
3602bb252f Use non-Bashism indirect reference in parse_options. Change $@ to ${@:-} and update parse_options in all tools. 2012-08-14 11:46:47 -06:00
Daniel Nichter
9ddf90eeca Use ${@:-""} rather than $@, prevents error on ksh when no opts given. Remove set +u to see if it is no longer needed. 2012-08-14 11:07:10 -06:00
Daniel Nichter
4a44794d07 Use sh instead of bash for pt-mysql-summary. Set +u around Bashism check. 2012-08-14 10:39:50 -06:00
Daniel Nichter
366ec95188 Merge df-bug-1035319 2012-08-14 09:17:43 -06:00
Daniel Nichter
b5ba79bb6d Collect df -k instead of df -h. Set log_error with abs path to fix failing t/lib/bash/collect.t test. 2012-08-14 09:11:41 -06:00
Daniel Nichter
676bb28365 Merge ptc-check-slave-lag-clarification-bug-954588 2012-08-14 08:50:28 -06:00
Daniel Nichter
e344c2f2be Merge doc-pt-osc-limitation-bug-1022658 2012-08-13 15:23:35 -06:00
Daniel Nichter
a657f5bc3a Document DROP FOREIGN KEY constraint_name limitation. 2012-08-13 15:19:57 -06:00
Daniel Nichter
207aca7f03 Document REPLICA CHECKS and make --check-slave-lag clearer. 2012-08-13 14:01:32 -06:00
Brian Fraser fraserb@gmail.com
fdcbbb63fc Bug 942114: bad "find" usage in pt-stalk 2012-08-13 12:39:28 -03:00
Brian Fraser fraserb@gmail.com
7f9f84a6d0 shell tools: Quote the arguments to tr 2012-08-13 12:23:18 -03:00
Daniel Nichter
217a45df6f Conditionalize top 5 slowest test files, saving 25%/5m * 15 configs = 1hr. 2012-08-12 10:16:52 -06:00
Daniel Nichter
a9eabffab9 Fix and stablize pt-slave-delay tests. 2012-08-11 13:52:41 -06:00
Brian Fraser
c08c0c6a7a Fix for 1035311: pt-diskstats shows wrong device name 2012-08-10 15:36:34 -03:00
Daniel Nichter
cdc51df9e6 Fix HTTPMicro POST: attach content to request. Validate type. 2012-08-10 11:00:26 -06:00
Daniel Nichter
70c295bc0a Make Pingback::pingback() do all the work, return list of advices (suggestions). More Pingback tests. Rename --check-for-updates to --version-check and document. Make VersionCheck::parse_server_response() optionally not split vars, so the same proto can be used for server advice lines. 2012-08-09 16:44:47 -06:00
Brian Fraser
1370490fb6 Reduce the timeout to 5 seconds 2012-08-09 17:53:35 -03:00
Brian Fraser
5af53d2665 Add a prototype implementation of the pingback feature to ptc 2012-08-09 17:43:48 -03:00
Brian Fraser
c7060a99a7 Add ping_for_updates(), send the X-Percona-Toolkit-Tool header, and fix an error in pingback() 2012-08-09 17:38:39 -03:00
Brian Fraser
4a04837378 Updated t/lib/Pingback.t to use the new type names 2012-08-09 16:45:29 -03:00
Daniel Nichter
d8bb594059 Clean up Pingback.pm, make it encode the client response correctly, and abstract and rewrite the tests. 2012-08-09 12:47:30 -06:00
Brian Fraser
357fff7153 VersionCheck: Update to newest spec and add get_bin_version() 2012-08-09 15:33:42 -03:00
Daniel Nichter
9d023fc1cb Add AutoReq: no to config/rpm/percona-toolkit.spec so it doesn't mis-detect embedded modules. 2012-08-09 10:33:09 -06:00
Brian Fraser
5281e109e9 Updated Pingback.pm 2012-08-09 12:15:55 -03:00
Brian Fraser
437503d94b Merged VersionCheck 2012-08-09 11:31:55 -03:00