Greg Sabino Mullane [Fri, 1 May 2009 19:19:10 +0000 (15:19 -0400)]
Perl module-a-fy
Greg Sabino Mullane [Fri, 1 May 2009 13:39:36 +0000 (09:39 -0400)]
Last of the testing tweaks. For now.
Greg Sabino Mullane [Fri, 1 May 2009 13:38:53 +0000 (09:38 -0400)]
Quick and dirty 'clean' target
Greg Sabino Mullane [Thu, 30 Apr 2009 21:57:34 +0000 (17:57 -0400)]
Tweak.
Greg Sabino Mullane [Thu, 30 Apr 2009 21:37:35 +0000 (17:37 -0400)]
More tweaks to support Postgres 8.0
Greg Sabino Mullane [Thu, 30 Apr 2009 20:32:57 +0000 (16:32 -0400)]
Yet more testing tweaks. The end is in sight.
Greg Sabino Mullane [Thu, 30 Apr 2009 19:51:05 +0000 (15:51 -0400)]
More version tweaking.
Greg Sabino Mullane [Thu, 30 Apr 2009 19:50:23 +0000 (15:50 -0400)]
Regex fix: relation may be index, not table.
Greg Sabino Mullane [Thu, 30 Apr 2009 13:09:52 +0000 (09:09 -0400)]
More support for older versions of Postgres, other cleanups.
Greg Sabino Mullane [Thu, 30 Apr 2009 12:35:13 +0000 (08:35 -0400)]
Don't allow values over 2 billion for wraparound check.
Older version compatibility.
Greg Sabino Mullane [Thu, 30 Apr 2009 12:25:08 +0000 (08:25 -0400)]
Clean up wording for txn_wraparound.
Greg Sabino Mullane [Wed, 29 Apr 2009 21:55:48 +0000 (17:55 -0400)]
Simplify random string for logfiles to support old versions of Postgres.
Fix typo in disabled_triggers.
Greg Sabino Mullane [Wed, 29 Apr 2009 19:48:23 +0000 (15:48 -0400)]
Many Perl::Critic related cleanups.
Greg Sabino Mullane [Wed, 29 Apr 2009 12:11:15 +0000 (08:11 -0400)]
Refactor EXISTS thing, make older PG version testing better.
Greg Sabino Mullane [Tue, 28 Apr 2009 19:30:52 +0000 (15:30 -0400)]
Make Perl::Critic not whine about missing policies.
Greg Sabino Mullane [Tue, 28 Apr 2009 18:41:01 +0000 (14:41 -0400)]
Minor tweak.
Greg Sabino Mullane [Tue, 28 Apr 2009 17:04:52 +0000 (13:04 -0400)]
Force query_runtime output to normal non-exponential numbers.
Thanks to Josh Tolley for finding.
Greg Sabino Mullane [Tue, 28 Apr 2009 15:38:50 +0000 (11:38 -0400)]
Spelling.
Greg Sabino Mullane [Tue, 28 Apr 2009 15:30:51 +0000 (11:30 -0400)]
Make spaces in dirs by default.
Greg Sabino Mullane [Tue, 28 Apr 2009 14:56:31 +0000 (10:56 -0400)]
Add TEST_EVERYTHING for testing ease.
Greg Sabino Mullane [Tue, 28 Apr 2009 14:49:02 +0000 (10:49 -0400)]
Getting ready for next release.
Greg Sabino Mullane [Tue, 28 Apr 2009 14:42:33 +0000 (10:42 -0400)]
Minor testing tweaks.
Jeff Boes [Tue, 28 Apr 2009 12:56:50 +0000 (08:56 -0400)]
Added 'timesync' tests.
Greg Sabino Mullane [Tue, 28 Apr 2009 01:59:25 +0000 (21:59 -0400)]
Many translation fixes and the cool test file that helped me find them.
Greg Sabino Mullane [Mon, 27 Apr 2009 23:30:24 +0000 (19:30 -0400)]
Many test cleanups and changes.
Greg Sabino Mullane [Mon, 27 Apr 2009 22:51:01 +0000 (18:51 -0400)]
Better handling of mismatched pg_controldata versions.
Greg Sabino Mullane [Mon, 27 Apr 2009 22:24:01 +0000 (18:24 -0400)]
Add PGBINDIR and PGCONTROLDATA. Give Jeff more credit.
Apparently older pg_controldata binaries will work against newer structures,
but give the wrong result. Bleh.
Greg Sabino Mullane [Mon, 27 Apr 2009 21:59:17 +0000 (17:59 -0400)]
Bump up limits to make tests pass.
Jeff Boes [Mon, 27 Apr 2009 21:09:49 +0000 (17:09 -0400)]
Add tests for disk_space; added missing msg name.
Jeff Boes [Mon, 27 Apr 2009 19:58:58 +0000 (15:58 -0400)]
Add tests for dbstats; fixed invalid error in check_postgres.pl;
extended CP_Testing::run method to allow no dbname runs.
Greg Sabino Mullane [Fri, 24 Apr 2009 23:27:05 +0000 (19:27 -0400)]
Minor testing changes.
Greg Sabino Mullane [Fri, 24 Apr 2009 23:26:10 +0000 (19:26 -0400)]
8.4 does FSM differently: handle that.
Greg Sabino Mullane [Fri, 24 Apr 2009 22:45:57 +0000 (18:45 -0400)]
Allow use of custom PG_CTL, make sure we create test user.
Jeff Boes [Fri, 24 Apr 2009 21:55:28 +0000 (17:55 -0400)]
Add custom_query tests.
Jeff Boes [Fri, 24 Apr 2009 21:10:07 +0000 (17:10 -0400)]
Tests for autovac_freeze.
Jeff Boes [Fri, 24 Apr 2009 19:40:24 +0000 (15:40 -0400)]
Add txn_time tests.
Greg Sabino Mullane [Fri, 24 Apr 2009 19:07:28 +0000 (15:07 -0400)]
Boost size to account for other tests
Jeff Boes [Fri, 24 Apr 2009 18:48:12 +0000 (14:48 -0400)]
Added txn_wraparound.t
Jeff Boes [Fri, 24 Apr 2009 17:43:59 +0000 (13:43 -0400)]
Remove unused variables.
Greg Sabino Mullane [Fri, 24 Apr 2009 18:26:01 +0000 (14:26 -0400)]
Typo.
Greg Sabino Mullane [Fri, 24 Apr 2009 16:19:58 +0000 (12:19 -0400)]
Remove for test
Greg Sabino Mullane [Fri, 24 Apr 2009 16:16:21 +0000 (12:16 -0400)]
Remove unneeded call.
Greg Sabino Mullane [Fri, 24 Apr 2009 16:11:51 +0000 (12:11 -0400)]
Minor Perl::Critic inspired change (plus another git push test)
Greg Sabino Mullane [Fri, 24 Apr 2009 16:08:04 +0000 (12:08 -0400)]
git push testing.
Greg Sabino Mullane [Fri, 24 Apr 2009 16:06:49 +0000 (12:06 -0400)]
Update.
Greg Sabino Mullane [Fri, 24 Apr 2009 15:53:27 +0000 (11:53 -0400)]
Updates.
Greg Sabino Mullane [Fri, 24 Apr 2009 15:52:59 +0000 (11:52 -0400)]
Merge branch 'master' of greg@lt2:/home/bucardo/htdocs/check_postgres
Greg Sabino Mullane [Fri, 24 Apr 2009 15:52:38 +0000 (11:52 -0400)]
Test or the 'bloat' action.
Greg Sabino Mullane [Fri, 24 Apr 2009 15:50:05 +0000 (11:50 -0400)]
Fix size_to_bytes typo, adjust POD.
Jeff Boes [Fri, 24 Apr 2009 15:20:42 +0000 (11:20 -0400)]
Tests for settings_checksum
Greg Sabino Mullane [Fri, 24 Apr 2009 11:27:19 +0000 (07:27 -0400)]
Translation fixes by Guillaume Lelarge
Jeff Boes [Thu, 23 Apr 2009 20:56:37 +0000 (16:56 -0400)]
Add MRTG tests, plan
Jeff Boes [Thu, 23 Apr 2009 20:37:58 +0000 (16:37 -0400)]
Initial cut, 'disabled_triggers' tests
Greg Sabino Mullane [Thu, 23 Apr 2009 21:37:56 +0000 (17:37 -0400)]
Another translation from Guillaume Lelarge
Greg Sabino Mullane [Thu, 23 Apr 2009 20:17:51 +0000 (16:17 -0400)]
Test or new_version_cp
Greg Sabino Mullane [Thu, 23 Apr 2009 20:17:27 +0000 (16:17 -0400)]
Handle "meta" commands differently.
Greg Sabino Mullane [Thu, 23 Apr 2009 20:16:48 +0000 (16:16 -0400)]
Funky version modification mojo.
Greg Sabino Mullane [Thu, 23 Apr 2009 19:34:39 +0000 (15:34 -0400)]
Minor fixes.
Greg Sabino Mullane [Thu, 23 Apr 2009 19:30:34 +0000 (15:30 -0400)]
Fixed for new_version_pg, plus a test for it.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:52:37 +0000 (13:52 -0400)]
Remove all tables, so other test tables don't interfere.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:44:45 +0000 (13:44 -0400)]
Re-apply Jeff's patch, got removed somehow.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:40:39 +0000 (13:40 -0400)]
We don't need this diag. Testers should be patient. :)
Greg Sabino Mullane [Thu, 23 Apr 2009 17:37:49 +0000 (13:37 -0400)]
Global vacuum in case brand new cluster.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:35:42 +0000 (13:35 -0400)]
ANALYZE first, in case this is a brand new cluster for this test.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:34:26 +0000 (13:34 -0400)]
Shut down test database when done.
Greg Sabino Mullane [Thu, 23 Apr 2009 17:24:48 +0000 (13:24 -0400)]
Add a test to ensure test coverage of all actions.
Rename walfiles.t to wal_files.t
Greg Sabino Mullane [Thu, 23 Apr 2009 16:54:43 +0000 (12:54 -0400)]
More things to ignore
Jeff Boes [Thu, 23 Apr 2009 16:48:30 +0000 (12:48 -0400)]
Test of the relation_size, table_size, and index_size actions.
Jeff Boes [Wed, 22 Apr 2009 21:39:06 +0000 (17:39 -0400)]
More tests.
Jeff Boes [Wed, 22 Apr 2009 21:37:47 +0000 (17:37 -0400)]
Typo.
Greg Sabino Mullane [Wed, 22 Apr 2009 21:04:38 +0000 (17:04 -0400)]
Fix wording.
Greg Sabino Mullane [Wed, 22 Apr 2009 21:04:16 +0000 (17:04 -0400)]
Clean up prepared_txns action and make a test for it.
Greg Sabino Mullane [Wed, 22 Apr 2009 20:34:06 +0000 (16:34 -0400)]
Tests for last_analye and last_vacuum, but Jeff Boes, with minor modifications by Greg.
Greg Sabino Mullane [Wed, 22 Apr 2009 20:33:04 +0000 (16:33 -0400)]
Ue self->{dbname} if available.
Greg Sabino Mullane [Wed, 22 Apr 2009 20:22:26 +0000 (16:22 -0400)]
Wording change for new prepare_txns action.
Greg Sabino Mullane [Wed, 22 Apr 2009 19:05:33 +0000 (15:05 -0400)]
Add prepared_txns check.
Greg Sabino Mullane [Tue, 21 Apr 2009 14:32:35 +0000 (10:32 -0400)]
Allow dbname in action call, force autovac off in test database.
Greg Sabino Mullane [Tue, 21 Apr 2009 14:31:51 +0000 (10:31 -0400)]
Adjust last_vacuum_analyze a bit.
Greg Sabino Mullane [Fri, 17 Apr 2009 21:34:25 +0000 (17:34 -0400)]
Allow week and year in some time inputs.
Greg Sabino Mullane [Fri, 17 Apr 2009 14:23:13 +0000 (10:23 -0400)]
Add bad_fake_version() func back in.
Greg Sabino Mullane [Tue, 14 Apr 2009 17:47:26 +0000 (13:47 -0400)]
Testing tweaks.
Greg Sabino Mullane [Tue, 14 Apr 2009 17:44:05 +0000 (13:44 -0400)]
Merge branch 'master' of bucardo@lt2:htdocs/nagios_postgres
Greg Sabino Mullane [Tue, 14 Apr 2009 03:28:54 +0000 (23:28 -0400)]
Add two new tests for fsm_pages and fsm_relations.
Minor tweak to version test, adjust CP_Testing.pm a little.
Greg Sabino Mullane [Tue, 14 Apr 2009 02:55:38 +0000 (22:55 -0400)]
Remove --schema entirely - use search_path instead.
Selena Deckelmann [Mon, 13 Apr 2009 23:04:19 +0000 (16:04 -0700)]
Merge commit 'HEAD'; branch 'tests'
Selena Deckelmann [Fri, 10 Apr 2009 21:09:15 +0000 (14:09 -0700)]
Adding tests for connection, database_size
Greg Sabino Mullane [Fri, 10 Apr 2009 16:30:48 +0000 (12:30 -0400)]
Finally fix the space-in-directory issues - Jeff Boes.
Greg Sabino Mullane [Fri, 10 Apr 2009 16:14:44 +0000 (12:14 -0400)]
New 'listen' test from Jeff Boes.
Add new get_dbname method to CP_Testing.pm
Greg Sabino Mullane [Fri, 10 Apr 2009 15:50:19 +0000 (11:50 -0400)]
Typo
Greg Sabino Mullane [Thu, 9 Apr 2009 23:11:09 +0000 (19:11 -0400)]
Revert bad quoting.
Greg Sabino Mullane [Thu, 9 Apr 2009 23:07:13 +0000 (19:07 -0400)]
Refactored version.
Greg Sabino Mullane [Thu, 9 Apr 2009 18:36:02 +0000 (14:36 -0400)]
More space stuff.
Greg Sabino Mullane [Thu, 9 Apr 2009 17:59:43 +0000 (13:59 -0400)]
Attempt to fix space quoting problems.
Greg Sabino Mullane [Thu, 9 Apr 2009 14:53:27 +0000 (10:53 -0400)]
French translations from Jean-Paul Argudo
Minor refactoring and cleanup.
Greg Sabino Mullane [Thu, 9 Apr 2009 03:17:58 +0000 (23:17 -0400)]
Test for the sequence action.
Greg Sabino Mullane [Thu, 9 Apr 2009 02:48:10 +0000 (22:48 -0400)]
Allow emptyok to actually work.
Greg Sabino Mullane [Wed, 8 Apr 2009 18:08:05 +0000 (14:08 -0400)]
User version.rss file to get Postgres revision information, per suggestion from Guillaume Lelarge
Greg Sabino Mullane [Tue, 7 Apr 2009 23:08:18 +0000 (19:08 -0400)]
Make Perl::Critic happy.
Greg Sabino Mullane [Tue, 7 Apr 2009 22:35:37 +0000 (18:35 -0400)]
Two cool new checks: new_version_cp and new_version_pg to check if you
have the latest and greatest check_postgres.pl and that you are running
the latest revision of Postgres.
Greg Sabino Mullane [Tue, 7 Apr 2009 19:35:11 +0000 (15:35 -0400)]
Allow --dbservice to work on older versions (Cédric Villemain)