He-Pin opened a new pull request, #3003: URL: https://github.com/apache/pekko/pull/3003
### Motivation SplitWhenTest can time out in the reactive-streams stochastic completion check on JDK 25 when the publisher is created from a pre-materialized tail substream. ### Modification Create the TCK publisher directly from splitWhen followed by concatSubstreams, avoiding the intermediate Sink.head materialization and cancellation of the outer stream. ### Result The publisher exercises splitWhen while keeping completion tied to the returned publisher stream. ### Tests - JDK 25 Scala 3.3.6 with nightly-style virtualized dispatcher flags: stream-tests-tck / Test / testOnly org.apache.pekko.stream.tck.SplitWhenTest - scalafmt --mode diff-ref=origin/main --quiet - scalafmt --list --mode diff-ref=origin/main - git diff --check ### References Refs #2994 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
