From 5708a2b7f2e2dafbeb90fb21e70d2c085e1ba1ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Goran=20Meki=C4=87?= Date: Thu, 8 Feb 2024 17:56:54 +0100 Subject: [PATCH] Try without "the pg hack" --- .github/workflows/test-package.yml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 998cbf3b8..8f1d7bdc1 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -71,29 +71,6 @@ jobs: DATABASE_URL: "mysql://username:password@127.0.0.1:3306/testsuite" run: bash scripts/test.sh - - name: Install postgresql-client - run: | - sudo apt-get update - sudo apt-get install --yes postgresql-client - - - name: Connect to PostgreSQL with CLI - run: env PGPASSWORD=password psql -h localhost -U username -c 'SELECT VERSION();' testsuite - - - name: Show max connections - run: env PGPASSWORD=password psql -h localhost -U username -c 'SHOW max_connections;' testsuite - - - name: Alter max connections - run: | - docker exec -i `docker ps -q --filter ancestor=postgres:10.8` bash << EOF - sed -i -e 's/max_connections = 100/max_connections = 1000/' /var/lib/postgresql/data/postgresql.conf - sed -i -e 's/shared_buffers = 128MB/shared_buffers = 512MB/' /var/lib/postgresql/data/postgresql.conf - EOF - docker restart --time 0 postgres - sleep 5 - - - name: Show max connections - run: env PGPASSWORD=password psql -h localhost -U username -c 'SHOW max_connections;' testsuite - - name: Run postgres env: DATABASE_URL: "postgresql://username:password@localhost:5432/testsuite"