solution: propagate native call exception to downstream
This commit is contained in:
@@ -135,6 +135,7 @@ class NativeCallSpec extends Specification {
|
||||
StepVerifier.create(resp)
|
||||
.expectNext(BlockchainOuterClass.NativeCallReplyItem.newBuilder()
|
||||
.setSucceed(false)
|
||||
.setErrorMessage("Failed to call 5: test test")
|
||||
.setId(5)
|
||||
.build())
|
||||
.expectComplete()
|
||||
@@ -151,6 +152,7 @@ class NativeCallSpec extends Specification {
|
||||
StepVerifier.create(resp)
|
||||
.expectNext(BlockchainOuterClass.NativeCallReplyItem.newBuilder()
|
||||
.setSucceed(false)
|
||||
.setErrorMessage("test test")
|
||||
.build())
|
||||
.expectComplete()
|
||||
.verify(Duration.ofSeconds(1))
|
||||
|
||||
Reference in New Issue
Block a user