TestServerRequestTimeout is flaky on Windows
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start with TestServerRequestTimeout in server_test.go, especially around line 406, and reproduce the failure on Windows. Compare how the expected and actual deadlines are represented, then make the test reliable across platforms without changing its timeout behavior. Run the focused test and the repository's coverage checks to confirm it no longer flakes.
Written by the indexing model from the issue text.
Description
TestServerRequestTimeout has been intermittently failing in PRs due to differences in deadline comparisons.
Example output from a PR run
🇩 coverage
--- FAIL: TestServerRequestTimeout (0.01s)
server_test.go:406: expected deadline 2023-02-25 00:20:34.5471163 +0000 GMT m=+601.181318201, actual: 1677284434547116900
FAIL
coverage: 64.8% of statements
FAIL github.com/containerd/ttrpc 1.385s
FAIL
mingw32-make: *** [makefile:155: coverage] Error 1
Error: Process completed with exit code 1.
- Dominant language
- Go
- Stars
- 674
- Forks
- 90
- Avg merge
- 16h 32m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from containerd/ttrpc
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
containerd/ttrpc#258 ·
-
Occasional streamHandler map memory leakMay be free again @fuweid claimed this 176 days ago, and no pull request is open. Open
containerd/ttrpc#236 · 1 reaction · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
containerd/ttrpc#212 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
containerd/ttrpc#203 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
containerd/ttrpc#184 · 9 comments ·
All issues in containerd/ttrpc
Similar issues
-
ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
jordansmall/spindrift#7895 ·
Maintainers usually reply within 1 day
-
documentation priority: medium skill: intermediate status: ready for dev
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
hyperledger-labs/fabric-smart-client#2830 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
P3 tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day