Skip to content

Commit aa14e3f

Browse files
committed
Fix a test
1 parent e2cc5c4 commit aa14e3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: kotlinx-coroutines-core/jvm/test/channels/TickerChannelCommonTest.kt

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ class TickerChannelCommonTest(private val channelFactory: Channel) : TestBase()
9393
fun testComplexOperator() = withVirtualTimeSource {
9494
runTest {
9595
val producer = GlobalScope.produce {
96+
delay(1) // ensure that the ordering of dispatches doesn't affect the result
9697
for (i in 1..7) {
9798
send(i)
9899
delay(1000)

0 commit comments

Comments
 (0)