postgres-integration-tests #89
2 changed files with 3 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ if (PGLAB_INTEGRATION_TESTS)
|
||||||
set_tests_properties(db_up PROPERTIES FIXTURES_SETUP pgcluster LABELS integration)
|
set_tests_properties(db_up PROPERTIES FIXTURES_SETUP pgcluster LABELS integration)
|
||||||
set_tests_properties(db_down PROPERTIES FIXTURES_CLEANUP pgcluster LABELS integration)
|
set_tests_properties(db_down PROPERTIES FIXTURES_CLEANUP pgcluster LABELS integration)
|
||||||
|
|
||||||
foreach (v 14 15 16 17)
|
foreach (v 14 15 16 17 18)
|
||||||
add_test(NAME integration_pg${v} COMMAND IntegrationTests)
|
add_test(NAME integration_pg${v} COMMAND IntegrationTests)
|
||||||
set_tests_properties(integration_pg${v} PROPERTIES
|
set_tests_properties(integration_pg${v} PROPERTIES
|
||||||
FIXTURES_REQUIRED pgcluster
|
FIXTURES_REQUIRED pgcluster
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
x-pg: &pg
|
x-pg: &pg
|
||||||
environment: { POSTGRES_PASSWORD: test }
|
environment: { POSTGRES_PASSWORD: test }
|
||||||
tmpfs: [/var/lib/postgresql/data]
|
tmpfs: [/var/lib/postgresql]
|
||||||
command: >
|
command: >
|
||||||
postgres -c fsync=off -c synchronous_commit=off
|
postgres -c fsync=off -c synchronous_commit=off
|
||||||
-c full_page_writes=off -c max_connections=200
|
-c full_page_writes=off -c max_connections=200
|
||||||
|
|
@ -14,3 +14,4 @@ services:
|
||||||
pg15: { <<: *pg, image: "postgres:15", ports: ["54315:5432"] }
|
pg15: { <<: *pg, image: "postgres:15", ports: ["54315:5432"] }
|
||||||
pg16: { <<: *pg, image: "postgres:16", ports: ["54316:5432"] }
|
pg16: { <<: *pg, image: "postgres:16", ports: ["54316:5432"] }
|
||||||
pg17: { <<: *pg, image: "postgres:17", ports: ["54317:5432"] }
|
pg17: { <<: *pg, image: "postgres:17", ports: ["54317:5432"] }
|
||||||
|
pg18: { <<: *pg, image: "postgres:18", ports: ["54318:5432"] }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue