From 24f8275f52d42fe545f695b173e550ff380e2e84 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 6 Feb 2026 04:36:55 +1300 Subject: [PATCH] Revert "fix: run Databases and FunctionsSchedule tests sequentially" This reverts commit 8dadcfeebeb0a9e784fa65033e4bbd2a33654173. --- .github/workflows/tests.yml | 44 ++++++++++--------------------------- 1 file changed, 12 insertions(+), 32 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 351bc71f58..1aa431bfc0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -220,22 +220,12 @@ jobs: SERVICE_PATH="/usr/src/code/tests/e2e/Services/${{ matrix.service }}" - # Use single process for Databases and FunctionsSchedule to avoid overwhelming the worker - if [ "${{ matrix.service }}" == "Databases" ] || [ "${{ matrix.service }}" == "FunctionsSchedule" ]; then - echo "Running sequentially for: ${{ matrix.service }}" - docker compose exec -T \ - -e _APP_DATABASE_SHARED_TABLES \ - -e _APP_DATABASE_SHARED_TABLES_V1 \ - -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite test "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots - else - echo "Running with paratest (parallel) for: ${{ matrix.service }}" - docker compose exec -T \ - -e _APP_DATABASE_SHARED_TABLES \ - -e _APP_DATABASE_SHARED_TABLES_V1 \ - -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite vendor/bin/paratest --processes $(nproc) "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots - fi + echo "Running with paratest (parallel) for: ${{ matrix.service }}" + docker compose exec -T \ + -e _APP_DATABASE_SHARED_TABLES \ + -e _APP_DATABASE_SHARED_TABLES_V1 \ + -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ + appwrite vendor/bin/paratest --processes $(nproc) "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots - name: Failure Logs if: failure() @@ -319,22 +309,12 @@ jobs: SERVICE_PATH="/usr/src/code/tests/e2e/Services/${{ matrix.service }}" - # Use single process for Databases and FunctionsSchedule to avoid overwhelming the worker - if [ "${{ matrix.service }}" == "Databases" ] || [ "${{ matrix.service }}" == "FunctionsSchedule" ]; then - echo "Running sequentially for: ${{ matrix.service }}" - docker compose exec -T \ - -e _APP_DATABASE_SHARED_TABLES \ - -e _APP_DATABASE_SHARED_TABLES_V1 \ - -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite test "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots - else - echo "Running with paratest (parallel) for: ${{ matrix.service }}" - docker compose exec -T \ - -e _APP_DATABASE_SHARED_TABLES \ - -e _APP_DATABASE_SHARED_TABLES_V1 \ - -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite vendor/bin/paratest --processes $(nproc) "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots - fi + echo "Running with paratest (parallel) for: ${{ matrix.service }}" + docker compose exec -T \ + -e _APP_DATABASE_SHARED_TABLES \ + -e _APP_DATABASE_SHARED_TABLES_V1 \ + -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ + appwrite vendor/bin/paratest --processes $(nproc) "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots - name: Failure Logs if: failure()