Merge pull request #1978 from famedly/krille/fix-ci-does-not-end

chore: Dispose all clients in test
This commit is contained in:
Krille-chan 2024-12-18 11:24:47 +01:00 committed by GitHub
commit 01e6633cbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ jobs:
- name: Run tests
run: |
dart pub get
dart test test/box_test.dart --platform chrome --fail-fast
dart test test/box_test.dart --platform chrome
pub-dev-dry-run:
runs-on: ubuntu-latest

View File

@ -6,7 +6,7 @@ if [ -n "$NO_OLM" ]; then
tagFlag="-x olm"
fi
dart test --concurrency=$thread_count --coverage=coverage_dir $tagFlag --fail-fast
dart test --concurrency=$thread_count --coverage=coverage_dir $tagFlag
TEST_CODE=$?
# lets you do more stuff like reporton

View File

@ -109,7 +109,7 @@ void main() {
});
test('Login', () async {
final matrix = Client(
matrix = Client(
'testclient',
httpClient: FakeMatrixApi(),
databaseBuilder: getDatabase,