From 92bc795d7a8e046a22ca8a34076d5226658cdf77 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Mon, 24 Jun 2024 05:07:25 +0000 Subject: [PATCH] reset test --- .github/workflows/tests.yml | 34 +++++++++++++++++----------------- app/init.php | 2 +- docker-compose.yml | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8e6d453d5a..7bc39392ef 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -108,22 +108,22 @@ jobs: matrix: service: [ - # Account, - # Avatars, - # Console, + Account, + Avatars, + Console, Databases, - # Functions, - # GraphQL, - # Health, - # Locale, - # Projects, - # Realtime, - # Storage, - # Teams, - # Users, - # Webhooks, - # VCS, - # Messaging, + Functions, + GraphQL, + Health, + Locale, + Projects, + Realtime, + Storage, + Teams, + Users, + Webhooks, + VCS, + Messaging, ] steps: @@ -144,7 +144,7 @@ jobs: sleep 25 - name: Run ${{matrix.service}} Tests - run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --filter="testCreateDatabase|testTimeout" --debug + run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug - name: Run ${{matrix.service}} Shared Tables Tests - run: _APP_DATABASE_SHARED_TABLES=database_db_main docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --filter="testCreateDatabase|testTimeout" --debug + run: _APP_DATABASE_SHARED_TABLES=database_db_main docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug diff --git a/app/init.php b/app/init.php index b087fe85c2..a86156c750 100644 --- a/app/init.php +++ b/app/init.php @@ -751,7 +751,7 @@ $register->set('pools', function () { $group = new Group(); $fallbackForDB = 'db_main=' . AppwriteURL::unparse([ - 'scheme' => 'mysql', + 'scheme' => 'mariadb', 'host' => System::getEnv('_APP_DB_HOST', 'mariadb'), 'port' => System::getEnv('_APP_DB_PORT', '3306'), 'user' => System::getEnv('_APP_DB_USER', ''), diff --git a/docker-compose.yml b/docker-compose.yml index ec00fe92a3..b86af1c12b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -902,7 +902,7 @@ services: - OPR_PROXY_HEALTHCHECK=enabled mariadb: - image: mysql:8.0.30 # fix issues when upgrading using: mysql_upgrade -u root -p + image: mariadb:10.11 # fix issues when upgrading using: mysql_upgrade -u root -p container_name: appwrite-mariadb <<: *x-logging networks: