mirror of
https://github.com/corda/corda.git
synced 2025-02-21 17:56:54 +00:00
Fix and or suppress detekt warnings
This commit is contained in:
parent
119f939ee1
commit
5b9c5a6b83
@ -121,7 +121,8 @@ class FlowFrameworkTests {
|
||||
val flow = ReceiveFlow(bob)
|
||||
val fiber = aliceNode.services.startFlow(flow) as FlowStateMachineImpl
|
||||
// Before the flow runs change the suspend action to throw an exception
|
||||
val throwingActionExecutor = SuspendThrowingActionExecutor(Exception("Thrown during suspend"), fiber.transientValues!!.value.actionExecutor)
|
||||
val throwingActionExecutor = SuspendThrowingActionExecutor(Exception("Thrown during suspend"),
|
||||
fiber.transientValues!!.value.actionExecutor)
|
||||
fiber.transientValues = TransientReference(fiber.transientValues!!.value.copy(actionExecutor = throwingActionExecutor))
|
||||
mockNet.runNetwork()
|
||||
fiber.resultFuture.getOrThrow()
|
||||
|
Loading…
x
Reference in New Issue
Block a user