reactor / reactor-core

Non-Blocking Reactive Foundation for the JVM
http://projectreactor.io
Apache License 2.0
4.93k stars 1.2k forks source link

[test] Disable asynchronicity in OnDiscard bufferTimeout test #3861

Closed chemicL closed 1 month ago

chemicL commented 1 month ago

Recent test failures were observed where bufferTimeout case in OnDiscardShouldNotLeakTest failed occasionally due to flaky behaviour caused by the discard happening shortly after the assertion failed. The reason was a tiny delay which was not coordinated with the assertion. This change disables the asynchronous behaviuor of the case.