tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [tomee] branch master updated: Let's see, if this fixes the related test in the CI/CD environment
Date Wed, 04 Aug 2021 10:03:52 GMT
This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/master by this push:
     new 38a817d  Let's see, if this fixes the related test in the CI/CD environment
38a817d is described below

commit 38a817d526bbb36198347e7b4366835aaf78450a
Author: Richard Zowalla <13417392+rzo1@users.noreply.github.com>
AuthorDate: Wed Aug 4 12:01:14 2021 +0200

    Let's see, if this fixes the related test in the CI/CD environment
---
 .../openejb/arquillian/tests/jaxws/WebServiceContextTest.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxws-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxws/WebServiceContextTest.java
b/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxws-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxws/WebServiceContextTest.java
index e19ef8b..d3104cf 100644
--- a/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxws-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxws/WebServiceContextTest.java
+++ b/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxws-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxws/WebServiceContextTest.java
@@ -50,7 +50,6 @@ import static java.lang.annotation.ElementType.METHOD;
 import static java.lang.annotation.ElementType.TYPE;
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
 import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
 
 @RunWith(Arquillian.class)
 public class WebServiceContextTest {
@@ -66,7 +65,8 @@ public class WebServiceContextTest {
                 .up().exportAsString();
 
         return ShrinkWrap.create(WebArchive.class, "ROOT.war")
-                .addClasses(Echo.class, EchoWS.class, SimpleRequestContext.class, Log.class,
LogInterceptor.class)
+                .addClasses(WebServiceContextTest.class, /* needs to be packaged as well
as some workflows require the outer class name to be available at runtime */
+                        Echo.class, EchoWS.class, SimpleRequestContext.class, Log.class,
LogInterceptor.class)
                 .addAsWebInfResource(new StringAsset(beansXml), "beans.xml");
     }
 
@@ -86,7 +86,7 @@ public class WebServiceContextTest {
         public String remote();
     }
 
-    @WebService
+    @WebService(serviceName = "EchoWSService")
     public static class EchoWS implements Echo {
         @Resource
         private WebServiceContext wsc;

Mime
View raw message