Commit Graph

1470 Commits

Author SHA1 Message Date
Daniel Nichter
866c68df9c Merge right-sth-bug-1039184 2012-08-24 10:52:21 -06:00
Daniel Nichter
1c3cde4e96 Merge fix-v-c-quiet-check 2012-08-23 10:30:05 -06:00
Daniel Nichter
e98db38499 Fix v-c --quiet check. Test v-c in pqd since it doesn't have --quiet. 2012-08-23 10:22:43 -06:00
Daniel Nichter
aadbe5887e Merge lp:~percona-toolkit-dev/percona-toolkit/pingback-feature 2012-08-22 19:59:55 -06:00
Daniel Nichter
154303bb89 Use simpler URL HTTPMicro vs. HTTP::Tiny comparison. 2012-08-22 16:27:52 -06:00
Daniel Nichter
639f47eb70 Add t/pt-archiver/version_check.t, v-c integration tests. Don't exit early if PTDEBUG && PTVCDEBUG (don't know what state the tool may be in). 2012-08-22 16:20:00 -06:00
Daniel Nichter
66f1bdf403 Change staging.upgrade.percona.com to $ENV{PERCONA_VERSION_CHECK_URL} || http://v.percona.com. 2012-08-22 15:10:33 -06:00
Daniel Nichter
7cd73be614 Merge 2.1 r364 (has lots of test fixes). 2012-08-22 15:00:19 -06:00
Daniel Nichter
6a2eb4c1b4 Merge more-test-errors 2012-08-22 14:56:54 -06:00
Daniel Nichter
9674c6ad88 Add diag() for Bash tests. Diag 'ollect_mysql_info.t find_my_cnf_file gets the correct file' when it fails. 2012-08-22 14:50:11 -06:00
Daniel Nichter
f8a0eaaa7d Wait for debug log if it was gotten. 2012-08-22 14:22:26 -06:00
Daniel Nichter
dbeaec77b6 Increase Bash wait_for_files from 3 to 30s. Wait for innodbstatus2 in collec.t. 2012-08-22 14:04:42 -06:00
Daniel Nichter
f2fd553bae Unlink file only if it exists, to avoid test errors. 2012-08-22 13:57:39 -06:00
Daniel Nichter
250847455d Merge slave-delay-t-error 2012-08-22 11:27:33 -06:00
Daniel Nichter
1c838e283f Remove useless 'Reconnected to slave' message in pt-slave-delay and fix standard_options.t so output doesn't show up as test errors. 2012-08-22 11:08:47 -06:00
Daniel Nichter
e85e647b86 Fix 'Lost connection to MySQL server during query' errors in pt-kill/kill.t. 2012-08-22 09:37:42 -06:00
Daniel Nichter
a776646673 Strip newlines from values. 2012-08-22 08:20:59 -06:00
Daniel Nichter
50f218a288 Implement version-check in the remaining tools. 2012-08-21 16:24:29 -06:00
Daniel Nichter
ee583ba729 Add $ENV{PERCONA_VERSION_CHECK}=0 to PerconaTest so tests don't version-check. Implement v-c in half the tools. Make util/update-modules clean up its temp files. 2012-08-21 16:15:44 -06:00
Daniel Nichter
a95aa2b3bc Put everything in Pingback::version_check(). Change HTTP::Micro to HTTPMicro in pingback(). Simplify time_to_check() a little and add more debug. Fix Pingback.t now that client response doesn't have TYPE and no response causes die. 2012-08-21 15:06:28 -06:00
Brian Fraser fraserb@gmail.com
e5b99fb41c Pingback::_touch should update the [ma]time of the file 2012-08-21 17:00:32 -03:00
Daniel Nichter
2d41598ea4 Add PTVCDEBUG and die instead of returning in pingback() so PTVCDEBUG can report better info. 2012-08-21 13:54:48 -06:00
Brian Fraser fraserb@gmail.com
01937e6d9f Implemented Pingback::time_to_check() 2012-08-21 16:50:12 -03:00
Brian Fraser fraserb@gmail.com
e9fc764e02 Fix a broken skip 2012-08-21 14:44:55 -03:00
Brian Fraser fraserb@gmail.com
615c5ad508 Fix several test failures by doing s/HTTP::Micro/HTTPMicro/ 2012-08-21 14:37:10 -03:00
Daniel Nichter
6397b3d897 Handle undef values in reports, and eval all reports. 2012-08-21 09:24:19 -06:00
Daniel Nichter
8db5b77a4e Change HTTPMicro to HTTP::Micro in Pingback to avoid 'subroutine redefined' errors. 2012-08-21 08:19:52 -06:00
Daniel Nichter
ca9bee7ae5 Don't count missing sth as diffs. 2012-08-20 14:21:07 -06:00
Daniel Nichter
fe6e87f1d5 Update CompareResults in pt-upgrade. 2012-08-20 14:11:09 -06:00
Daniel Nichter
2544a554dd Don't die if there's no results_sth for a host. 2012-08-20 13:57:59 -06:00
Daniel Nichter
616a98f86c Add --[no]version-check, VersionCheck, Pingback, and HTTPMicro to tools having the version check feature. 2012-08-17 16:25:56 -06:00
Daniel Nichter
272473348c Remove _d from Percona::Toolkit because I can't get it to export correctly. Put Percona::Toolkit in most tools. 2012-08-17 12:35:12 -06:00
Daniel Nichter
4fe1a61f0e Add lib/Percona/Toolkit.pm for $Percona::Toolkit::VERSION. Put that in pt-diskstats. Add util/tool-header to update %INC magic when bin/update-modules is ran. 2012-08-17 11:27:41 -06:00
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