typelevel / typelevel/cats-effect

`SupervisorSuite` timeout on Windows

Open
#4,445 6 comments 0 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.