[cxf] branch 3.2.x-fixes updated: [CXF-8128]fix test failure

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[cxf] branch 3.2.x-fixes updated: [CXF-8128]fix test failure

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

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


The following commit(s) were added to refs/heads/3.2.x-fixes by this push:
     new 7d4d4dc  [CXF-8128]fix test failure
7d4d4dc is described below

commit 7d4d4dc3ed6401111a8c8ea25762040f7a3a2383
Author: Freeman Fang <[hidden email]>
AuthorDate: Wed Oct 2 11:09:23 2019 -0400

    [CXF-8128]fix test failure
   
    (cherry picked from commit e595febcf8359fbb8fac489b1a1806ee3d5430b4)
    (cherry picked from commit b132c8bc6b07257e77c3290c3a20b1e574d54409)
---
 .../java/org/apache/cxf/jaxrs/client/logging/RESTLoggingTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rt/rs/client/src/test/java/org/apache/cxf/jaxrs/client/logging/RESTLoggingTest.java b/rt/rs/client/src/test/java/org/apache/cxf/jaxrs/client/logging/RESTLoggingTest.java
index a6d8019..fbfdcfe 100644
--- a/rt/rs/client/src/test/java/org/apache/cxf/jaxrs/client/logging/RESTLoggingTest.java
+++ b/rt/rs/client/src/test/java/org/apache/cxf/jaxrs/client/logging/RESTLoggingTest.java
@@ -162,7 +162,7 @@ public class RESTLoggingTest {
 
     private void checkResponseOut(LogEvent responseOut) {
         // Not yet available
-        Assert.assertNull(responseOut.getAddress());
+        Assert.assertEquals(SERVICE_URI + "/test1", responseOut.getAddress());
         Assert.assertEquals("application/octet-stream", responseOut.getContentType());
         Assert.assertEquals(EventType.RESP_OUT, responseOut.getType());
         Assert.assertNull(responseOut.getEncoding());
@@ -176,7 +176,7 @@ public class RESTLoggingTest {
 
     private void checkResponseIn(LogEvent responseIn) {
         // Not yet available
-        Assert.assertNull(responseIn.getAddress());
+        Assert.assertEquals(SERVICE_URI + "/test1", responseIn.getAddress());
         Assert.assertEquals("application/octet-stream", responseIn.getContentType());
         Assert.assertEquals(EventType.RESP_IN, responseIn.getType());
         Assert.assertNotNull(responseIn.getExchangeId());