From 2a535a2adc8d295af7d3377b9a183a03904b30d3 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 20 Feb 2026 03:10:56 +1300 Subject: [PATCH] fix: exclude ciIgnore tests from CI and increase Realtime polling timeouts - Add --exclude-group ciIgnore to paratest commands in tests.yml (the @group ciIgnore annotation was defined but never excluded) - Increase attribute/index polling timeouts in RealtimeConsoleClientTest from 15s to 120s for Shared V2 stability Co-Authored-By: Claude Opus 4.6 --- .github/workflows/tests.yml | 4 ++-- tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0b322337cc..df4fe43919 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -282,7 +282,7 @@ jobs: -e _APP_DB_PORT="${{ env._APP_DB_PORT }}" \ -e _APP_DB_SCHEMA=appwrite \ -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite vendor/bin/paratest --processes $(nproc) --functional "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --log-junit tests/e2e/Services/${{ matrix.service }}/junit.xml + appwrite vendor/bin/paratest --processes $(nproc) --functional "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --exclude-group ciIgnore --log-junit tests/e2e/Services/${{ matrix.service }}/junit.xml - name: Failure Logs if: failure() @@ -380,7 +380,7 @@ jobs: -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) --functional "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --log-junit tests/e2e/Services/${{ matrix.service }}/junit.xml + appwrite vendor/bin/paratest --processes $(nproc) --functional "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --exclude-group ciIgnore --log-junit tests/e2e/Services/${{ matrix.service }}/junit.xml - name: Failure Logs if: failure() diff --git a/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php b/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php index f0715440cb..3da00898c9 100644 --- a/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php +++ b/tests/e2e/Services/Realtime/RealtimeConsoleClientTest.php @@ -68,7 +68,7 @@ class RealtimeConsoleClientTest extends Scope ], $this->getHeaders())); $this->assertEquals(200, $attribute['headers']['status-code']); $this->assertEquals('available', $attribute['body']['status']); - }, 15000, 500); + }, 120000, 500); return ['actorsId' => $actorsId, 'databaseId' => $databaseId]; } @@ -120,7 +120,7 @@ class RealtimeConsoleClientTest extends Scope ], $this->getHeaders())); $this->assertEquals(200, $column['headers']['status-code']); $this->assertEquals('available', $column['body']['status']); - }, 15000, 500); + }, 120000, 500); return ['actorsId' => $actorsId, 'databaseId' => $databaseId]; } @@ -151,7 +151,7 @@ class RealtimeConsoleClientTest extends Scope ], $this->getHeaders())); $this->assertEquals(200, $index['headers']['status-code'], 'Index polling returned ' . $index['headers']['status-code'] . ': ' . json_encode($index['body'] ?? '')); $this->assertEquals('available', $index['body']['status']); - }, 15000, 500); + }, 120000, 500); return $data; } @@ -182,7 +182,7 @@ class RealtimeConsoleClientTest extends Scope ], $this->getHeaders())); $this->assertEquals(200, $index['headers']['status-code'], 'Index polling returned ' . $index['headers']['status-code'] . ': ' . json_encode($index['body'] ?? '')); $this->assertEquals('available', $index['body']['status']); - }, 15000, 500); + }, 120000, 500); return $data; }