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 2021/04/08 13:55:31 UTC
[tomee-tck] branch jakartaee9-tck updated (e21ca0c -> cb002f5)
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a change to branch jakartaee9-tck
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git.
from e21ca0c Since we have CDI activated by default, deployment fails because there are bad servlets, filters and listeners for negative tests in Servlet Test Suite. So let's exclude those class and fallback into default Tomcat behaviour
new 8148368 Tomcat does not mention this one to pass all TCK so trying without
new cb002f5 Let the test eventually fail if there is no webapp or what deployed. Some tests like WebSocket explicitly deploy bad things and expect a failure in deployment.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/openejb/cts/deploy/StandardDeployment14.java | 10 ++++++++--
src/test/script/openejb/tck/commands/JavaTestCommand.groovy | 1 -
2 files changed, 8 insertions(+), 3 deletions(-)
[tomee-tck] 02/02: Let the test eventually fail if there is no
webapp or what deployed. Some tests like WebSocket explicitly deploy bad
things and expect a failure in deployment.
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch jakartaee9-tck
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit cb002f58adcf8acc4c3065f1525750695ec681f1
Author: Jean-Louis Monteiro <jl...@tomitribe.com>
AuthorDate: Thu Apr 8 15:54:31 2021 +0200
Let the test eventually fail if there is no webapp or what deployed.
Some tests like WebSocket explicitly deploy bad things and expect a failure in deployment.
Signed-off-by: Jean-Louis Monteiro <jl...@tomitribe.com>
---
.../org/apache/openejb/cts/deploy/StandardDeployment14.java | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/openejb/cts/deploy/StandardDeployment14.java b/src/main/java/org/apache/openejb/cts/deploy/StandardDeployment14.java
index 8145bca..1f3501f 100644
--- a/src/main/java/org/apache/openejb/cts/deploy/StandardDeployment14.java
+++ b/src/main/java/org/apache/openejb/cts/deploy/StandardDeployment14.java
@@ -293,8 +293,14 @@ public class StandardDeployment14 implements TSDeploymentInterface {
}
} catch (Exception e) {
e.printStackTrace();
- throw (TSDeploymentException) new TSDeploymentException(
- "Deployment Failed.").initCause(e);
+
+ // just print the details of the failure but don't interrupt the tests
+ // leave the test eventually fail if deployment is not available
+ // some tests like in WebSocket are explicitly testing deployment failures
+
+// throw (TSDeploymentException) new TSDeploymentException(
+// "Deployment Failed.").initCause(e);
+ return "";
}
}
[tomee-tck] 01/02: Tomcat does not mention this one to pass all TCK
so trying without
Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch jakartaee9-tck
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit 814836870f794d7bfb5055974dfd55841e2f21a0
Author: Jean-Louis Monteiro <jl...@tomitribe.com>
AuthorDate: Thu Apr 8 15:53:49 2021 +0200
Tomcat does not mention this one to pass all TCK so trying without
Signed-off-by: Jean-Louis Monteiro <jl...@tomitribe.com>
---
src/test/script/openejb/tck/commands/JavaTestCommand.groovy | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
index 1617433..5860c47 100644
--- a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
+++ b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
@@ -242,7 +242,6 @@ class JavaTestCommand
log.info("Enabling Tomcat WebSockets configuration")
containerJavaOpts += "-Dorg.apache.tomcat.websocket.DISABLE_BUILTIN_EXTENSIONS=true " +
"-Dorg.apache.tomcat.websocket.ALLOW_UNSUPPORTED_EXTENSIONS=true " +
- "-Dorg.apache.tomcat.websocket.STRICT_SPEC_COMPLIANCE=true " +
"-Dorg.apache.tomcat.websocket.DEFAULT_PROCESS_PERIOD=0"
}
if (containerJavaOpts != null) {