typelevel / typelevel/cats-effect
`SupervisorSuite` timeout on Windows
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 2.2k
- Forks
- 576
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 18
Description
Looks like VM slowness to me:
[error] ==> X cats.effect.std.SupervisorSuite.concurrent - restart / cancel race 20.056s cats.effect.TestTimeoutException: test timed out after 20 seconds
[error] at cats.effect.Runners.$anonfun$timeout$1(Runners.scala:151)
[error] at cats.effect.unsafe.WorkStealingThreadPool$$anon$1.apply(WorkStealingThreadPool.scala:695)
[error] at cats.effect.unsafe.WorkStealingThreadPool$$anon$1.apply(WorkStealingThreadPool.scala:692)
[error] at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:908)
Contributor guide
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.
Research direction
Start with the SupervisorSuite.concurrent test named “restart / cancel race” and reproduce the 20-second timeout on Windows. Then inspect the timeout stack frames in Runners.scala, WorkStealingThreadPool.scala, and WorkerThread.scala; done means identifying and addressing the Windows-specific cause so the test completes reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- operating-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100