Daniel Nichter
|
9f2f0f2c38
|
Sort items in Pingback.t like they're sorted in Pingback.pm to avoid failing tests on some platforms.
|
2012-10-06 11:39:02 -06:00 |
|
Brian Fraser
|
ee338f7ceb
|
v-c: Re-enable https by default, make --version-check take an optional protocol argument
|
2012-09-13 10:39:04 -03:00 |
|
Daniel Nichter
|
0e3eac65a0
|
Handle MySQL instance ID for MySQL 5.0.
|
2012-08-31 10:01:12 -06:00 |
|
Daniel Nichter
|
a3950411b9
|
Add back PerconaTest::slurp_file(). Put in scope in pt-index-usage. Sort MySQL instance IDs for testing. Wait for pid file in pt-heartbeat/basics.t.
|
2012-08-28 15:28:34 -06:00 |
|
Daniel Nichter
|
98338b6508
|
Simplify how Pingback handles MySQL instances. Remove Percona::Toolkit::slurp_file() because it was causing 'sub redefined' errors, probably due to PerconaTest::slurp_file(). Add more PTVCDEBUG statements.
|
2012-08-27 17:10:42 -06:00 |
|
Daniel Nichter
|
a08bf4c4fc
|
Add code comments. Make Pingback.t tests more explicity. Don't '1 while unlink file'. Remove get_mysql_status() stub.
|
2012-08-27 15:19:35 -06:00 |
|
Brian Fraser
|
9f79d4b7ba
|
v-c: Updated to identify and report every instance, and to skip instances already version-checked that day
|
2012-08-24 19:09:59 -03: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 |
|
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
|
5281e109e9
|
Updated Pingback.pm
|
2012-08-09 12:15:55 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
58647e8b42
|
Add lib/Pingback.pm and tests
|
2012-08-07 18:08:51 -03:00 |
|