You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2023/03/17 16:52:20 UTC

[cxf] 07/12: Move a test to inProcess on all platforms and make it quiet

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

dkulp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 400b721be3d7d7b341a412722e20158b43a47f34
Author: Daniel Kulp <da...@kulp.com>
AuthorDate: Wed Mar 15 14:30:09 2023 -0400

    Move a test to inProcess on all platforms and make it quiet
---
 .../org/apache/cxf/systest/ws/addressing/NonDecoupledTest.java | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/NonDecoupledTest.java b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/NonDecoupledTest.java
index f16a36d058..91a4099121 100644
--- a/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/NonDecoupledTest.java
+++ b/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/addressing/NonDecoupledTest.java
@@ -47,13 +47,9 @@ public class NonDecoupledTest extends MAPTestBase {
 
     @BeforeClass
     public static void startServers() throws Exception {
-        // special case handling for WS-Addressing system test to avoid
-        // UUID related issue when server is run as separate process
-        // via maven on Win2k
-        boolean inProcess = "Windows 2000".equals(System.getProperty("os.name"));
         assertTrue("server did not launch correctly",
                    launchServer(Server.class, null,
-                                new String[] {ADDRESS, GreeterImpl.class.getName()}, inProcess));
+                                new String[] {ADDRESS, GreeterImpl.class.getName()}, true));
     }
 
     @WebService(serviceName = "SOAPServiceAddressing",
@@ -62,7 +58,9 @@ public class NonDecoupledTest extends MAPTestBase {
                 targetNamespace = "http://apache.org/hello_world_soap_http",
                 wsdlLocation = "testutils/hello_world.wsdl")
     public static class GreeterImpl extends org.apache.cxf.systest.ws.addressing.AbstractGreeterImpl {
-
+        GreeterImpl() {
+            super(true);
+        }
     }
     public String getAddress() {
         return ADDRESS;