Skip to content

flaky test: TestPromptForConfirmation/case=reader_closed #4948

Description

@thaJeztah

Description

This test looks to be flaky on macOS at least; seen it fail a couple of times.

ok  	github.com/docker/cli/cli	0.242s	coverage: 28.2% of statements
--- FAIL: TestPromptForConfirmation (0.38s)
    --- FAIL: TestPromptForConfirmation/case=reader_closed (0.19s)
        utils_test.go:222: PromptForConfirmation did not return after promptReader was closed
FAIL
panic: send on closed channel

goroutine 111 [running]:
github.com/docker/cli/cli/command_test.TestPromptForConfirmation.func8.2()
	/Users/runner/work/cli/cli/src/github.com/docker/cli/cli/command/utils_test.go:209 +0x6d
created by github.com/docker/cli/cli/command_test.TestPromptForConfirmation.func8 in goroutine 110
	/Users/runner/work/cli/cli/src/github.com/docker/cli/cli/command/utils_test.go:207 +0x3aa

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions