Skip to content

Commit 2032033

Browse files
authored
Fix a broken test (#3659)
The timeout was too low, the test body would never get a chance to run.
1 parent bddfb89 commit 2032033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-test/common/test/RunTestTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class RunTestTest {
215215
}
216216
}
217217
}) {
218-
runTest(timeout = 1.milliseconds) {
218+
runTest(timeout = 100.milliseconds) {
219219
coroutineContext[CoroutineExceptionHandler]!!.handleException(coroutineContext, TestException("A"))
220220
withContext(Dispatchers.Default) {
221221
delay(10000)

0 commit comments

Comments
 (0)