mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-10-23 13:02:28 +00:00
tests: execute in parallel, agent: fix race condition with files and when switching queue (#1932)
* tests: execute in parallel * fix test * fix postgresql build * fix test * fix test * fix some tests * fix tests * fix tests * fix test * update schema * fix test * update schemas * diff * fix race * fixes * update schemas * fix tests --------- Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
1 parent
1d39da91c5
commit
9d83c0378e
40 files changed
+1157
-970
No files matched your search
@@ -372,6 +372,14 @@ jobs:
|
||||
dist-postgres
|
||||
key: ${{ steps.keys.outputs.dist }}-${{ env.opt }}-${{ env.branch }}-${{ github.sha }}
|
||||
|
||||
- name: Increase PostgreSQL connection limit
|
||||
if: matrix.should_run == true && matrix.arch == 'x86-64'
|
||||
shell: bash
|
||||
run: |
|
||||
docker exec ${{ job.services.postgres.id }} psql -U postgres -c "ALTER SYSTEM SET max_connections = 500"
|
||||
docker restart ${{ job.services.postgres.id }}
|
||||
timeout 60 sh -c 'until docker exec ${{ job.services.postgres.id }} pg_isready -U postgres; do sleep 1; done'
|
||||
|
||||
- name: Test
|
||||
if: matrix.should_run == true && matrix.arch == 'x86-64'
|
||||
timeout-minutes: 120
|
||||
|
||||
Reference in new issue
Block a user