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

markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new eb8963a80a Use class name to exclude. Avoids a 'skipped test' warning
eb8963a80a is described below

commit eb8963a80aad2e34d2e89c1888d5d2221774a6ab
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Jun 19 10:26:56 2026 +0100

    Use class name to exclude. Avoids a 'skipped test' warning
---
 ...rdTagPerformance.java => TesterNonstandardTagPerformance.java} | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/test/org/apache/jasper/compiler/TestNonstandardTagPerformance.java 
b/test/org/apache/jasper/compiler/TesterNonstandardTagPerformance.java
similarity index 97%
rename from test/org/apache/jasper/compiler/TestNonstandardTagPerformance.java
rename to test/org/apache/jasper/compiler/TesterNonstandardTagPerformance.java
index eaeb89131f..7e5af94854 100644
--- a/test/org/apache/jasper/compiler/TestNonstandardTagPerformance.java
+++ b/test/org/apache/jasper/compiler/TesterNonstandardTagPerformance.java
@@ -23,7 +23,6 @@ import javax.servlet.jsp.PageContext;
 import javax.servlet.jsp.TesterPageContext;
 
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 
 import org.apache.jasper.runtime.JspRuntimeLibrary;
@@ -34,7 +33,11 @@ import org.apache.jasper.runtime.JspRuntimeLibrary;
  * The benchmark requires libraries that are not normally on the build-time 
classpath (standard tags) so much of this
  * code is commented out. Users running the benchmark should uncomment the 
imports, fields, and methods.
  */
-public class TestNonstandardTagPerformance {
+/*
+ * This test requires additional setup and cannot be run as part of a standard 
test run so it is excluded due to the
+ * name starting Tester...
+ */
+public class TesterNonstandardTagPerformance {
     static final long NUM_ITERATIONS = 100000000L;
 
     static final int NUM_TESTS = 5;
@@ -119,7 +122,6 @@ public class TestNonstandardTagPerformance {
      * </ol>
      * @throws Throwable generic error
      */
-    @Ignore
     @Test
     public void runBenchmark() throws Throwable {
         long[] durations = new long[NUM_TESTS];


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to