https://kotlinlang.org logo
Title
u

user

07/21/2022, 7:01 PM
How to increase Kotlin coroutines when running a test? I've implemented an integration test. It run some stuff, including two suspend functions which are run inside a launch{}. Now for some reason, when I run more than four of my integration tests, I have six, the fifth job gets cancelled and the IT fails. This is an excerpt of the code I'm testing: io.launch { temporaryStorage.storeFiles(businessProcess) .publishEvent(businessProcess, expectedDocumentType) .tapLeft { orchestrationFailure -> orchestrationFailure.handleFailure() } }...