Brian Fraser
ee71455900
Merged fix-1037211-distill-lowercase-lock-tables
2012-08-24 19:52:26 -03:00
Brian Fraser
8d6f2c97e3
Merged fix-1036747-remove-pts-priv-checks
2012-08-24 19:51:40 -03:00
Brian Fraser
4eda3039dd
Merged fix-1034717-divison-by-zero-base-1
2012-08-24 19:50:34 -03:00
Daniel Nichter
d016b170b3
Merge ptc-run-time
2012-08-24 15:27:11 -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
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
7cd73be614
Merge 2.1 r364 (has lots of test fixes).
2012-08-22 15:00:19 -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
Brian Fraser
d3eabbd511
Fix for the first bug in 1034717: Illegal division by zero if base == 1
2012-08-22 17:03:35 -03:00
Daniel Nichter
f2fd553bae
Unlink file only if it exists, to avoid test errors.
2012-08-22 13:57:39 -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
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
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
Brian Fraser
c3fe755615
Fix for 1037211: QueryParser fails to distill LOCK TABLES in lowercase
2012-08-16 19:18:14 -03:00
Brian Fraser
0ac09e77b4
Fix 1036747: Remove priv checks from pt-table-sync
2012-08-16 18:06:49 -03:00
Daniel Nichter
4bd763b52c
Merge staging-test-suite-error-fixes
2012-08-15 19:43:52 -06:00
Daniel Nichter
3369a6c37d
Don't auto-vivify clustered_key hashref in PTDEBUG.
2012-08-15 16:24:19 -06:00
Daniel Nichter
8c963bb007
Merge lp:~percona-toolkit-dev/percona-toolkit/test-suite-noise
2012-08-15 13:30:50 -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
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
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
2e38f936a6
Silence rollback warnings in t/lib/DSNParser.t
2012-08-15 13:26:13 -03:00
Daniel Nichter
92a36715c4
Remove test-env reset. Fix pt-fifo-split plan.
2012-08-14 17:08:06 -06: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
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
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
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
Brian Fraser
475af27724
Merged HTTP::Micro
2012-08-09 11:31:23 -03:00
Daniel Nichter
a1633092d7
Fix test to handled borked Perl 5.8 version.
2012-08-08 15:30:24 -06:00
Daniel Nichter
ff7aebaa0e
Coerce PERL_VERSION with %vd to fix 5.8.
2012-08-08 15:23:52 -06:00
Daniel Nichter
c755700068
Don't check sandbox if it's not up.
2012-08-08 14:12:24 -06:00
Brian Fraser fraserb@gmail.com
028fa7a047
Added HTTP::Micro.
...
This is an extremely stripped down HTTP::Tiny, i.e. not comformant
with HTTP/1.1. Basically only GET and POST should work, and
only for explicit content-lengths; chunking is not implemented.
2012-08-08 16:45:28 -03:00
Daniel Nichter
b4dce00639
Stringify Perl vars so $PERL_VERSION isn't an object. Diag the versions so I can see the real results.
2012-08-08 12:57:47 -06:00
Daniel Nichter
5b5c75ba3b
Test get_os().
2012-08-08 12:53:14 -06:00