summaryrefslogtreecommitdiff
path: root/t/CP_Testing.pm
AgeCommit message (Collapse)Author
2016-06-08connection: Make all errors including timeout from psql CRITICALChristoph Berg
UNKNOWN is not so much useful in the context of basic connection checks. (The result remains UNKNOWN in case version() returns something fishy.) Close #100.
2016-06-06Replace $dbh->tables() with selectall_arrayref()Christoph Berg
$dbh->tables() seems to be throwing errors in travis. Replace by a standard catalog query. t/02_commitratio.t ......... DBD::Pg::db tables failed: no statement executing at t/CP_Testing.pm line 825. Looks like your test exited with 255 before it could output anything.
2016-06-05Minimize number of errors in the server log during testingChristoph Berg
2016-06-05Speed up testing by disabling fsyncChristoph Berg
2016-06-03Add check_replication_slots check to check the delay on any replication slots.glyn
"Delay" is measured as size of transaction logs retained for the slot e.g: check_postgres_replication_slots -db=TEST -H=192.168.0.106 -warning=32M -critical=64M
2015-06-30No tabs pleaseGreg Sabino Mullane
2015-03-23Query all sequences per DB in parallel for action=sequenceChristoph Berg
action=sequence used to open a new session for every sequence checked, which could be very slow. Fix by creating a single SQL statement using UNION ALL to query all sequences at once.
2014-06-12Quick stub to show port when testing. Always 5432 for now (with a custom ↵Greg Sabino Mullane
socket dir)
2013-03-13Minor tweaks to get ready for 2.20.0Greg Sabino Mullane
2013-02-11Force tests to use port 5432 in case PGPORT is conflicting.Greg Sabino Mullane
2013-02-11Better debug output: check for dbdir and datadir separately.Greg Sabino Mullane
2012-05-23Force to port 5432 for funky systems.Greg Sabino Mullane
2012-01-22Fix the createlang during initCédric Villemain
There was a copy-n-paste error, only affecting < 8.1 .
2012-01-18Perl::Critic inspired changesGreg Sabino Mullane
2012-01-17Remove tabsGreg Sabino Mullane
2012-01-17Tweaks for better "fakeschema" in the tests.Greg Sabino Mullane
2012-01-16More tabsGreg 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-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-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-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!
2010-04-07Complete the tabs-to-spaces conversion.Greg Sabino Mullane
2010-04-07Handle case during tests where postgres database does not exist.Greg Sabino Mullane
Whitespace cleanup.
2009-08-23Make sure we don't use any rc file laying about.Greg Sabino Mullane
2009-07-21Don't want redirect_stderr on for <= 8.2 testingGreg Sabino Mullane
2009-07-21logging_collector arrived in 8.3Greg Sabino Mullane
2009-07-10Allow the check_backends check to detect 'too many clients' message and ↵Greg Sabino Mullane
return a critical. Thanks to Jürgen Schulz-Brüssel for the idea. Add 'fatalregex' to run_command to allow known error messages through. Add 'quickreturn' for piling up database handles.
2009-06-12Add function to completely recreate database, for easier same_schema testing.Greg Sabino Mullane
2009-06-12Use "dbnum" for multiple databases, and make sure we cleanup symlinks as well.Greg Sabino Mullane
2009-06-12Shut down all of our test databases, make room for future of five at once (!)Greg Sabino Mullane
2009-06-03Bugfix: problems with long paths and the initial setup of an 'clean' databaseJeff Boes
2009-05-29Fix for better logging of tests.Greg
2009-05-04Support warning/crit for new_version_cp based on version. Show message as well.Greg Sabino Mullane
2009-05-04Ignore PGUSER env on startup.Greg Sabino Mullane
2009-05-04More testing tweaks.Greg Sabino Mullane
2009-05-03Cleaner handling of tests with 8.0 backendGreg Sabino Mullane
2009-05-01Testing tweaks.Greg Sabino Mullane
2009-05-01Wacky workaround for psql -h bug.Greg Sabino Mullane
2009-05-01Last of the testing tweaks. For now.Greg Sabino Mullane
2009-04-30More tweaks to support Postgres 8.0Greg Sabino Mullane
2009-04-30Yet more testing tweaks. The end is in sight.Greg Sabino Mullane
2009-04-30More version tweaking.Greg Sabino Mullane
2009-04-30More support for older versions of Postgres, other cleanups.Greg Sabino Mullane
2009-04-29Refactor EXISTS thing, make older PG version testing better.Greg Sabino Mullane
2009-04-28Make spaces in dirs by default.Greg Sabino Mullane
2009-04-28Minor testing tweaks.Greg Sabino Mullane
2009-04-27Many test cleanups and changes.Greg Sabino Mullane