Skip to content

testConnectTimeout in secure_socket_test.dart & socket_connect_timeout_test.dart not convincing #60246

@brianquinlan

Description

@brianquinlan

The test assumes that a timeout exception will result when connecting to the IP 8.8.8.7 and does not inspect the exception details.

Instead, the test could use a C helper program (or Dart FFI) that binds to a socket but does not accept connections to simulate connection timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-iotriagedIssue has been triaged by sub team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions