Vagrantfile/VM for PG JDBC Driver Testing

From: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>
To: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Vagrantfile/VM for PG JDBC Driver Testing
Date: 2013-09-14 21:19:07
Message-ID: CAH7T-aoUTGwB0fBd0d+rWK9JdXSXEtmynn3EV_fpL2zA60Q_8g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi-

To simplify testing of the PG JDBC driver I created a Vagrant config
that spins up a VM with 5 PG installations (versions 8.4, 9.0, 9.1,
9.2, and 9.3) and creates the users/databases needed for running the
JDBC driver tests (including all the SSL tests). All five PG servers
are running in the same VM (separate installations in single Ubuntu
12.04 VM).

I created this so that I could more easily run the JDBC driver tests
and in particular write new tests for the new SSL factory patch
submitted a couple weeks back. I haven't completed the new tests yet
but I figured I'd share this now as it's useful on it's own.

I think it'd be good to have this (or something similar) merged into
the JDBC driver's repo itself as it makes it *much* easier for someone
to test out a change (particularly against multiple version of PG).
Double so for someone new trying to get started.

Let me know what you guys think.

GitHub repo: https://github.com/jackdb/pgjdbc-test-vm

Thanks,
Sehrope Sarkuni

Browse pgsql-jdbc by date

  From Date Subject
Next Message dmp 2013-09-15 22:22:35 Documentation Conversion
Previous Message Jim Garrison 2013-09-13 22:28:26 Re: Using CopyManager with pooled JCA connection