Re: In-core regression tests for replication, cascading, archiving, PITR, etc. Michael Paquier

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: In-core regression tests for replication, cascading, archiving, PITR, etc. Michael Paquier
Date: 2014-01-26 17:12:51
Message-ID: 64aaac31739cef275839932f16fda226@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> I thought the goal here was to have a testing framework that (a) is
> portable to every platform we support and (b) doesn't require root
> privileges to run. None of those options sound like they'll help meet
> those requirements.

FWIW, I hacked up a Perl-based testing system as a proof of concept
some time ago. I can dust it off if anyone is interested. Perl has
a very nice testing ecosystem and is probably the most portable
language we support, other than C. My quick goals for the project were:

* allow granular testing (ala Andrew's recent email, which reminded me of this)
* allow stackable methods and dependencies
* make it very easy to write new tests
* test various features that are way too diificult in our existing system
(e.g. PITR, fdws)
* get some automated code coverage metrics (this one was tricky)
* allow future git integration based on subsytems

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201401261211
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAlLlQeMACgkQvJuQZxSWSsiYhACggHJgQWB/Q2HEfjGZCwR3yEZg
zMsAnAssOStAmMuaJEScCGHGKWYNow1v
=zi0Y
-----END PGP SIGNATURE-----

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2014-01-26 17:13:21 Tablespace options in \db+
Previous Message Tom Lane 2014-01-26 17:08:32 Re: running make check with only specified tests