You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2022/04/11 13:09:54 UTC

[tomee] 01/04: Don't run SSE tests because TCK still has 1 javax.servlet

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

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

commit 5891c2746bc152006034147fec127dfdaa3b640f
Author: Jean-Louis Monteiro <jl...@tomitribe.com>
AuthorDate: Mon Apr 11 15:09:00 2022 +0200

    Don't run SSE tests because TCK still has 1 javax.servlet
---
 tck/microprofile-tck/rest-client/pom.xml       |  5 +++++
 tck/microprofile-tck/rest-client/tck-suite.xml | 30 ++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/tck/microprofile-tck/rest-client/pom.xml b/tck/microprofile-tck/rest-client/pom.xml
index fa531571b0..b509fb3a80 100644
--- a/tck/microprofile-tck/rest-client/pom.xml
+++ b/tck/microprofile-tck/rest-client/pom.xml
@@ -61,9 +61,14 @@
         <artifactId>maven-surefire-plugin</artifactId>
         <version>3.0.0-M6</version>
         <configuration>
+          <suiteXmlFiles>
+            <suiteXmlFile>tck-suite.xml</suiteXmlFile>
+          </suiteXmlFiles>
+          <!--
           <dependenciesToScan>
             <dependency>org.eclipse.microprofile.rest.client:microprofile-rest-client-tck</dependency>
           </dependenciesToScan>
+          -->
           <excludes>
             <!-- TODO - Remove once issue https://github.com/eclipse/microprofile-rest-client/issues/166 is solved  -->
             <exclude>org.eclipse.microprofile.rest.client.tck.InvokeWithJsonBProviderTest</exclude>
diff --git a/tck/microprofile-tck/rest-client/tck-suite.xml b/tck/microprofile-tck/rest-client/tck-suite.xml
new file mode 100644
index 0000000000..bfe81eb405
--- /dev/null
+++ b/tck/microprofile-tck/rest-client/tck-suite.xml
@@ -0,0 +1,30 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
+
+<suite name="microprofile-rest-client-TCK" verbose="2" configfailurepolicy="continue" >
+
+  <test name="microprofile-rest-client TCK">
+    <packages>
+      <package name="org.eclipse.microprofile.rest.client.tck.*">
+        <!-- bug in MyEventSourceServlet which depends on javax servlet api -->
+        <exclude name="org.eclipse.microprofile.rest.client.tck.sse.*"></exclude>
+      </package>
+    </packages>
+  </test>
+
+</suite>
\ No newline at end of file