Skip to content

Commit 01027c2

Browse files
dkhalanskyjbpablobaxter
authored andcommitted
Fix a flaky test (Kotlin#2677)
1 parent bc7d362 commit 01027c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reactive/kotlinx-coroutines-reactive/test/PublisherRequestStressTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class PublisherRequestStressTest : TestBase() {
7474
private var demand = 0L // only updated from reqPool
7575

7676
override fun onComplete() {
77-
expectUnreached()
77+
// Typically unreached, but, rarely, `emitPool` may shut down before the cancellation is performed.
7878
}
7979

8080
override fun onSubscribe(sub: Subscription) {

0 commit comments

Comments
 (0)