summaryrefslogtreecommitdiff
path: root/t
AgeCommit message (Collapse)Author
2012-01-22Fix the createlang during initCédric Villemain
There was a copy-n-paste error, only affecting < 8.1 .
2012-01-22Revert "Minor change in bloat test"Cédric Villemain
This reverts commit 7788d081ab5ed74d53f699bc7333e00f2bb59d9a. GSM: Data::Dumper is handy for when you do want to Dump something.
2012-01-22Minor change in bloat testCédric Villemain
The test was loading Data::Dumepr but not using it.
2012-01-22Add `pgagent_jobs` test.Cédric Villemain
From: "David E. Wheeler" <[email protected]> This patch adds support for checking for failed pgAgent jobs within a specified period of time. You can specify either --critical or --warning as a period of time, and it will report on failures within that period of time previous to the current time. Job failures are determined by a non-0 status in a job step record. Using this test obviously requiers that the pgAgent schema be installed. I've also included a bunch of unit tests to make sure it works the way I would expect (the test will create a schema for testing) and documentation. As part of this, I've introduced the `any_warning` argument to `validate_range()`. The `pgagent_jobs` test does not care if you specify a warning value greater than the critical value (indeed, I expect that if one used both at all, the warning would be much longer). So this new argument prevents the `range-warnbigtime` or `range-warnbigsize` failures from being triggered. Cedric: I sorted the POD and added the action_info so that t/05_docs.t is ok. I also built and push the new .html
2012-01-18Perl::Critic inspired changesGreg Sabino Mullane
2012-01-17Try to wrap failing Perl::Critic calls in an eval. Does not work.Greg Sabino Mullane
2012-01-17Clear temp schemaGreg Sabino Mullane
2012-01-17Remove tabsGreg Sabino Mullane
2012-01-17Tweaks for better "fakeschema" in the tests.Greg Sabino Mullane
2012-01-16Spell check tweaksGreg Sabino Mullane
2012-01-16Add some debugging to the perlcritic testGreg Sabino Mullane
2012-01-16Getting tired of these !@#$!@#%! tabs in this !~@#$!@#$ codeGreg Sabino Mullane
2012-01-16More tabsGreg Sabino Mullane
2011-11-10Add MRTG to test for settings_checksumCédric Villemain
2011-11-10Add a test for checkpoint and --assume-standby-modeCédric Villemain
2011-11-10Add cluster_id testCédric Villemain
for automatic testing too.
2011-10-06Use the full path when getting sequence information for same_schema.Greg Sabino Mullane
Thanks to Cindy Wise for the bug report.
2011-09-28Spellcheck updatesGreg Sabino Mullane
2011-09-28Message/translation cleanups.Greg Sabino Mullane
2011-09-03Fix some "make test" issuesGuillaume Lelarge
* backends test issue Critical and warning values were wrong for the negative number check. And the output message for the --include check was wrong too. * check_replicate_row issue The UPDATE must be executed on the first server only. * fsm_pages and fsm_relations test issue The version test (ie max_fsm_* not available on 8.4 and later releases) must be done earlier. * doc test issue check_standby_mode rename to make_sure_standby_mode because all check_* functions are expected to have documentation, but check_standby_mode is an internal function. * another doc test issue pgbouncer_checksum documentation wasn't at the right location. * drop_schema_if_exists issue There was an unexpected return in the middle of the function, and so the schema was never dropped.
2011-08-18Don't allow this test unless in RELEASE mode.Greg Sabino Mullane
2011-07-12Support per-version SQL for same_schema action.Greg Sabino Mullane
2011-07-05Keep the fake schema around, as we modify search_path with ALTER USERGreg Sabino Mullane
2011-07-04Various testing fixes.Greg Sabino Mullane
2011-07-04Tweak backend tests to account for new outputGreg Sabino Mullane
2011-07-04Remove a tab that snuck in.Greg Sabino Mullane
2011-07-04Better tests for non-superuser in txn_idle and friends.Greg Sabino Mullane
Attempts to fix bug 59.
2011-07-03Allow the --schema argument for the slony_status action to take multiple ↵Greg Sabino Mullane
values, and map those back into the targetdbs as needed. Also detect multiple slonys per database if no --schema is given. Per idea from Jehan-Guillaume de Rorthais.
2011-06-30Fix tests for new naming.Greg Sabino Mullane
2011-06-30Rename test filesGreg Sabino Mullane
2011-06-30Test file tweaks for new output.Greg Sabino Mullane
2011-06-30Spell check updates.Greg Sabino Mullane
2011-06-30Complete rewrite of the same_schema action.Greg Sabino Mullane
Now supports >2 databases for comparison, as well as "historical" comparisons of the same db over time!
2011-06-27Add the hitratio actionGuillaume Lelarge
This new action allows a user to track the hit ratio, ie the difference between cache and disk reads, in each database.
2011-06-27Add the commitratio actionGuillaume Lelarge
This new action allows a user to track the commit ratio, ie the difference between commit and rollback, in each database.
2011-06-07Allow unlimited number of databases, e.g. dbname2, dbname3, dbname4, ...Greg Sabino Mullane
2011-03-15Quick fixGreg Sabino Mullane
2011-02-21Spelling cleanups.Greg Sabino Mullane
Only spellcheck test files that start with a number.
2011-02-18Fix up custom query test.Greg Sabino Mullane
2011-02-16Whitespace cleanups.Greg Sabino Mullane
2011-02-12Clean up translations and tests.Greg Sabino Mullane
2011-02-12Fix MRTG for last_vacuum and last_analzyeGreg Sabino Mullane
2011-02-09Adjust tests for new perfdata output.Greg Sabino Mullane
2011-02-09validate_integer_for_time now returns empty string not undefGreg Sabino Mullane
2011-02-09New test stub.Greg Sabino Mullane
2011-02-09New action: new_version_box, for the boxinfo.pl program.Greg Sabino Mullane
2011-02-03Consolidate txn_idle, txn_time, and query_time, with major cleanup.Greg Sabino Mullane
Add vv argument as shorthand for "very verbose"
2011-02-03Show information about the top offender for the txn_idle action.Greg Sabino Mullane
Clean up the tests.
2011-01-25Make new_version_cp test work correctly for dot-zero revisions.Greg Sabino Mullane
2011-01-25The wal_files check must take a positive integer, not just any ol' integer.Greg Sabino Mullane