The GitHub Actions job "Pull Requests" on 
pekko.git/fix/nightly-bounded-mapasync has succeeded.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
a07c97854b8e30583df3d240e1fc24394e26cb60 / He-Pin <[email protected]>
test: avoid busy-spin in mapAsync stress tests

Motivation:
Recent nightly stream stress failures timed out under JDK 25 contention. The 
previous PR revision reduced the stress sizes, but that weakened the tests 
instead of addressing the root timing sensitivity.

Modification:
Keep the existing 10K mapAsync stress inputs and 100K BoundedSourceQueue burst 
loop. Replace the mapAsync stress-test busy-spin delay loops with 
LockSupport.parkNanos so the tests preserve asynchronous completion pressure 
without burning carrier CPU. Keep the BoundedSourceQueue completion assertion 
dilated because that assertion is explicitly timefactor-sensitive.

Result:
The tests retain their original stress coverage while avoiding artificial CPU 
starvation in nightly runners.

Tests:
- JDK 25 nightly-style virtualized flags: stream-tests / Test / testOnly 
org.apache.pekko.stream.scaladsl.FlowMapAsyncSpec 
org.apache.pekko.stream.scaladsl.FlowMapAsyncUnorderedSpec 
org.apache.pekko.stream.scaladsl.FlowMapAsyncPartitionedSpec
- JDK 25 nightly-style virtualized flags: stream-tests / Test / testOnly 
org.apache.pekko.stream.scaladsl.BoundedSourceQueueSpec
- scalafmt --mode diff-ref=origin/main
- scalafmt --list --mode diff-ref=origin/main
- git diff --check

References:
None - nightly-builds.yml failure analysis.

Report URL: https://github.com/apache/pekko/actions/runs/26507219304

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to