typelevel / typelevel/fs2

`fs2.interop.flow.PublisherToSubscriberSpec.should have the same output as input` timeout

Open
#3,541 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Scala
Stars
2.5k
Forks
636
Avg merge
2d 4h
Merged PRs (30d)
7

Description

773de68f672c4e736bf642e9c30b3d915a8fea82

ubuntu-latest, 3, temurin@17, rootJVM

==> X fs2.interop.flow.PublisherToSubscriberSpec.should have the same output as input  30.004s java.util.concurrent.TimeoutException: test timed out after 30 seconds
    at munit.CatsEffectSuite.munit$CatsEffectSuite$$anon$1$$_$_$$anonfun$2(CatsEffectSuite.scala:78)
    at scala.Option.fold(Option.scala:263)
    at munit.CatsEffectSuite$$anon$1.applyOrElse(CatsEffectSuite.scala:79)
    at scala.PartialFunction$Lifted.apply(PartialFunction.scala:338)
    at scala.PartialFunction$Lifted.apply(PartialFunction.scala:334)
    at munit.ValueTransforms$ValueTransform.apply(ValueTransforms.scala:14)
    at munit.ValueTransforms.$anonfun$2(ValueTransforms.scala:28)
    at scala.collection.Iterator$$anon$9.next(Iterator.scala:584)
    at scala.collection.IterableOnceOps.collectFirst(IterableOnce.scala:1256)
    at scala.collection.IterableOnceOps.collectFirst$(IterableOnce.scala:1248)
    at scala.collection.AbstractIterator.collectFirst(Iterator.scala:1303)
    at munit.ValueTransforms.$anonfun$1(ValueTransforms.scala:29)
    at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:467)
    at unsafeRunSync @ fs2.interop.packageDoctest$$anon$1.$init$$$anonfun$2$$anonfun$1(packageDoctest.scala:36)
    at race$extension @ fs2.Stream.forkOnElem$1$$anonfun$1$$anonfun$1$$anonfun$1(Stream.scala:2364)
    at timeoutTo @ munit.CatsEffectSuite.munit$CatsEffectSuite$$anon$1$$_$_$$anonfun$2(CatsEffectSuite.scala:78)

https://github.com/typelevel/fs2/actions/runs/13727001151/job/38395670558?pr=3539#step:11:2940

cc @BalmungSan

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 fs2.interop.flow.PublisherToSubscriberSpec and reproduce the timeout from the linked GitHub Actions run on the referenced commit, 773de68f672c4e736bf642e9c30b3d915a8fea82. Trace the PublisherToSubscriberSpec test and its stream execution; done means the test completes within its timeout and produces the same output as its input.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.