This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.3.x-fixes by this push:
     new 4422ca5  CXF-8357: RxJava2/RxJava3: Add support of Maybe type. Fixed 
Mono::error test cases
4422ca5 is described below

commit 4422ca565178e04a6e248802c4037d32b8a0ef80
Author: reta <[email protected]>
AuthorDate: Sat Nov 28 21:05:43 2020 -0500

    CXF-8357: RxJava2/RxJava3: Add support of Maybe type. Fixed Mono::error 
test cases
---
 .../test/java/org/apache/cxf/systest/jaxrs/reactor/MonoReactorTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/reactor/MonoReactorTest.java
 
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/reactor/MonoReactorTest.java
index bacac30..33ee6cb 100644
--- 
a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/reactor/MonoReactorTest.java
+++ 
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/reactor/MonoReactorTest.java
@@ -127,7 +127,7 @@ public class MonoReactorTest extends 
AbstractBusClientServerTestBase {
             .request(MediaType.APPLICATION_JSON)
             .rx(ReactorInvoker.class)
             .get(HelloWorldBean.class))
-        .expectErrorMatches(ex -> ex.getCause() instanceof 
InternalServerErrorException)
+        .expectErrorMatches(ex -> ex.getCause().getCause() instanceof 
InternalServerErrorException)
         .verify();
     }
 }

Reply via email to