Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

race test MonoReduceSeedTest> onNextAndCancelRace| MonoReduceTest > onNextAndCancelRace fails randomly on idk 21 and VirtualThread #3629

Closed
OlegDokuka opened this issue Nov 2, 2023 · 0 comments · Fixed by #3678
Labels

Comments

@OlegDokuka
Copy link
Contributor

MonoReduceSeedTest > onNextAndCancelRace() FAILED
    java.lang.AssertionError: RaceTestUtils.race wait timed out after 5s
        at reactor.test.util.RaceTestUtils.race(RaceTestUtils.java:180)
        at reactor.test.util.RaceTestUtils.race(RaceTestUtils.java:144)
        at reactor.test.util.RaceTestUtils.race(RaceTestUtils.java:108)
        at reactor.test.util.RaceTestUtils.race(RaceTestUtils.java:120)
        at reactor.core.publisher.MonoReduceSeedTest.onNextAndCancelRace(MonoReduceSeedTest.java:180)
Test class reactor.core.publisher.MonoReduceTest

MonoReduceTest > onNextAndCancelRace() FAILED
    java.lang.AssertionError: RaceTestUtils.race wait timed out after 5s
        at reactor.test.util.RaceTestUtils.race(RaceTestUtils.java:180)
        at reactor.test.util.RaceTestUtils.race(RaceTestUtils.java:144)
        at reactor.test.util.RaceTestUtils.race(RaceTestUtils.java:108)
        at reactor.test.util.RaceTestUtils.race(RaceTestUtils.java:120)
        at reactor.core.publisher.MonoReduceTest.onNextAndCancelRace(MonoReduceTest.java:212)
@OlegDokuka OlegDokuka added the type/bug A general bug label Nov 2, 2023
chemicL added a commit that referenced this issue Jan 5, 2024
When `RaceTestUtils`-based concurrency tests involving more tasks than
available CPUs were run, they'd time-out when run in the Java 21 setup
with loom-based boundedElastic `Scheduler`. This change should eliminate
such situations.

Addresses related issues below and potentially more.
Fixes #3629
Fixes #3628
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant