Skip to content

crypto/tls: timeout tests #14722

@randall77

Description

@randall77

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?

tip

  1. What operating system and processor architecture are you using (go env)?

linux/amd64

  1. What did you do?

run the crypto/tls tests. Occasionally, I get the error:

--- FAIL: TestDialTimeout (0.01s)
tls_test.go:192: resulting error not a timeout: dial tcp 127.0.0.1:49575: i/o timeout

The test used to detect whether an error is a timeout is to look for the string "timed out" in the error string. Maybe we should include "timeout" also?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions