Merge pull request #1978 from famedly/krille/fix-ci-does-not-end
chore: Dispose all clients in test
This commit is contained in:
commit
01e6633cbd
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ void main() {
|
|||
});
|
||||
|
||||
test('Login', () async {
|
||||
final matrix = Client(
|
||||
matrix = Client(
|
||||
'testclient',
|
||||
httpClient: FakeMatrixApi(),
|
||||
databaseBuilder: getDatabase,
|
||||
|
|
|
|||
Loading…
Reference in New Issue