branch: elpa/pg
commit 250553701a22da3681cb5abe12a4cbd405220c8e
Author: Eric Marsden <[email protected]>
Commit: Eric Marsden <[email protected]>

    Tests: add test recipe for the pgrust experiment
---
 test/Makefile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/test/Makefile b/test/Makefile
index 48de0f62d4..e2dd569dd0 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -325,6 +325,20 @@ test-enterprisedb: test-pg.el
        ${DOCKER} stop edb
 
 
+# https://github.com/malisper/pgrust
+# This does not currently support the PGPORT environment variable
+test-pgrust: test-pg.el
+       ${DOCKER} run --rm --name pgrust --pull=newer \
+          --publish 127.0.0.1:5998:5432 \
+          -e POSTGRES_DB=pgeltestdb \
+          -e POSTGRES_USER=pgeltestuser \
+          -e POSTGRES_PASSWORD=pgeltest \
+          -d docker.io/malisper/pgrust:latest
+       sleep 5
+       PGEL_PORT=5998 $(MAKE) test
+       ${DOCKER} stop pgrust
+
+
 # Tests with a PostgreSQL server configured to only accept clients that 
present a CA-signed certificate.
 #
 #   https://www.postgresql.org/docs/current/ssl-tcp.html

Reply via email to