Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Rethrow CancellationException to ensure stop by timeout
  • Loading branch information
dtim committed Oct 12, 2022
commit e734b3f7ccb95a208015cd9d27471eb55ec5635a
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,11 @@ open class TestCaseGenerator(
is UtError -> method2errors.getValue(method).merge(it.description, 1, Int::plus)
}
}
} catch (e: CancellationException) {
logger.info(e) { "Test generation cancelled" }
throw(e)
} catch (e: Exception) {
logger.error(e) {"Error in engine"}
logger.error(e) { "Error in engine" }
}
}
controller.paused = true
Expand Down