Skip to content

[coverage] Recover from dartdev socket already in use (instead of hanging) #2096

Closed
@dcharkes

Description

@dcharkes

Package coverage should quit or recover from

Could not start the VM service: DartDevelopmentServiceException: Failed to create server socket (Address already in use): 127.0.0.1:8181

Currently, it simply continues running al the tests and then hangs.

This happens if a Dart process is already using this port. (Usually when I ctrl+c'ed something but some Dart process is still running in the background.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions