docker / docker/cli

Flaky test: TestInitializeFromClientHangs

Open
#6,003 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/testing kind/bug
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

Description
65.51 === Failed
65.51 === FAIL: cli/command TestInitializeFromClientHangs (1.00s)
65.51     cli_test.go:252: server never received an init request

Observed in: https://github.com/docker/cli/pull/6002#issuecomment-2796916289

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the cli/command TestInitializeFromClientHangs failure reported at cli_test.go:252, then reproduce the case where the server never receives an init request. Trace the test's initialization and request timing; done means the test no longer flakes and passes reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.