Thanks to visit codestin.com
Credit goes to github.com

Skip to content

flake: TestWorkspaceAgentListeningPorts/LinuxAndWindows/OK_Mainline #1123

Description

@spikecurtis

Seen while testing locally.

Repeatedly see

    workspaceagents_test.go:1108: expected to not find TCP port 33133 in response

until the test context expires.

The test itself is funadmentally flaky: it creates a listener on the real OS networking stack, verifies it shows up in the list of listening ports, then closes the listener and verfies the port doesn't show up. However, the OS can immediately reuse the port for something else, so there is no guarantee the agent won't see the port still in use, especially on a busy system that runs multiple tests in parallel.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions