Skip to content

Commit

Permalink
Merge pull request #1978 from famedly/krille/fix-ci-does-not-end
Browse files Browse the repository at this point in the history
chore: Dispose all clients in test
  • Loading branch information
krille-chan authored Dec 18, 2024
2 parents 9777dfb + e2f37c2 commit 01e6633
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/client_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void main() {
});

test('Login', () async {
final matrix = Client(
matrix = Client(
'testclient',
httpClient: FakeMatrixApi(),
databaseBuilder: getDatabase,
Expand Down

0 comments on commit 01e6633

Please sign in to comment.