Skip to content

dart pub global run coverage:test_with_coverage sometimes never terminates with tests that use async #2049

Closed
@benthillerkus

Description

@benthillerkus

Running dart pub global run coverage:test_with_coverage on this package https://github.com/benthillerkus/db_migrations_with_multiverse_time_travel/tree/main/packages/sqflite does not terminate.
The tests run through and the success message is displayed, but the process never stops and the coverage files are not being written to disk.
The problem is only with this package, with the other two packages the test runner finishes as expected. The only differentiator of this package is that it uses async in the tests.

This has caused me to write some convoluted code to not have the CI job fail, but it would be great if this just wasn't a problem.

I can reproduce this on my local Windows machine aswell as the Ubuntu CI runners

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions