Tune test db server settings to speed up tests #939

Merged
konrad merged 8 commits from feature/tmpfs into main 2021-08-11 22:03:06 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 7d01ba5310 - Show all commits

View File

@ -61,7 +61,7 @@ services:
- name: tmp-postgres-unit
path: /var/lib/postgresql/data
commands:
- postgres -c fsync=off -x full_page_writes=off # turns of wal
- docker-entrypoint.sh -c fsync=off -x full_page_writes=off # turns of wal
- name: test-postgres-integration
image: postgres:13
environment:
@ -71,7 +71,7 @@ services:
- name: tmp-postgres-integration
path: /var/lib/postgresql/data
commands:
- postgres -c fsync=off -x full_page_writes=off # turns of wal
- docker-entrypoint.sh -c fsync=off -x full_page_writes=off # turns of wal
- name: test-postgres-migration
image: postgres:13
environment:
@ -81,7 +81,7 @@ services:
- name: tmp-postgres-migration
path: /var/lib/postgresql/data
commands:
- postgres -c fsync=off -x full_page_writes=off # turns of wal
- docker-entrypoint.sh -c fsync=off -x full_page_writes=off # turns of wal
trigger:
branch: