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:
EvgenyandEvgeny @ SimpleX Chat authored and GitHub committed 2026-10-15 14:10:04 +01:00
1 parent 1d39da91c5
commit 9d83c0378e
40 files changed
+1157 -970

No files matched your search

+8
View File
@@ -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