retry
does not retry all exceptions
#3928
Labels
enhancement ✨
Suggestions for adding new features or improving existing ones.
framework 🏗️
Pertains to the core structure and components of the Kotest framework.
good-first-issue 👶
Suitable for newcomers looking to contribute to the project.
It looks like Kotest's retry block only retries assertion related errors and exceptions which exactly has
Exception
class. For exampleRuntimeException
orNullPointerException
are not retried. Is this intentional?The documentation of the function says:
Related code:
kotest/kotest-assertions/kotest-assertions-shared/src/commonMain/kotlin/io/kotest/assertions/Retry.kt
Line 81 in 23b0629
The text was updated successfully, but these errors were encountered: