1
0
Fork 0
mirror of synced 2024-09-06 12:51:43 +12:00

reset test

This commit is contained in:
Damodar Lohani 2024-06-24 05:07:25 +00:00
parent e88b7742c6
commit 92bc795d7a
3 changed files with 19 additions and 19 deletions

View file

@ -108,22 +108,22 @@ jobs:
matrix: matrix:
service: service:
[ [
# Account, Account,
# Avatars, Avatars,
# Console, Console,
Databases, Databases,
# Functions, Functions,
# GraphQL, GraphQL,
# Health, Health,
# Locale, Locale,
# Projects, Projects,
# Realtime, Realtime,
# Storage, Storage,
# Teams, Teams,
# Users, Users,
# Webhooks, Webhooks,
# VCS, VCS,
# Messaging, Messaging,
] ]
steps: steps:
@ -144,7 +144,7 @@ jobs:
sleep 25 sleep 25
- name: Run ${{matrix.service}} Tests - 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 - 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

View file

@ -751,7 +751,7 @@ $register->set('pools', function () {
$group = new Group(); $group = new Group();
$fallbackForDB = 'db_main=' . AppwriteURL::unparse([ $fallbackForDB = 'db_main=' . AppwriteURL::unparse([
'scheme' => 'mysql', 'scheme' => 'mariadb',
'host' => System::getEnv('_APP_DB_HOST', 'mariadb'), 'host' => System::getEnv('_APP_DB_HOST', 'mariadb'),
'port' => System::getEnv('_APP_DB_PORT', '3306'), 'port' => System::getEnv('_APP_DB_PORT', '3306'),
'user' => System::getEnv('_APP_DB_USER', ''), 'user' => System::getEnv('_APP_DB_USER', ''),

View file

@ -902,7 +902,7 @@ services:
- OPR_PROXY_HEALTHCHECK=enabled - OPR_PROXY_HEALTHCHECK=enabled
mariadb: 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 container_name: appwrite-mariadb
<<: *x-logging <<: *x-logging
networks: networks: