Skip to content

Commit 4c9b8a9

Browse files
committed
Use class name to exclude. Avoids a 'skipped test' warning
1 parent efb8b99 commit 4c9b8a9

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

test/org/apache/jasper/compiler/TestNonstandardTagPerformance.java renamed to test/org/apache/jasper/compiler/TesterNonstandardTagPerformance.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@
2323
import jakarta.servlet.jsp.TesterPageContext;
2424

2525
import org.junit.Before;
26-
import org.junit.Ignore;
2726
import org.junit.Test;
2827

2928
import org.apache.jasper.runtime.JspRuntimeLibrary;
3029

31-
public class TestNonstandardTagPerformance {
30+
/*
31+
* This test requires additional setup and cannot be run as part of a standard test run so it is excluded due to the
32+
* name starting Tester...
33+
*/
34+
public class TesterNonstandardTagPerformance {
3235
static final long NUM_ITERATIONS = 100000000L;
3336

3437
static final int NUM_TESTS = 5;
@@ -105,7 +108,6 @@ private boolean oldCode(jakarta.servlet.jsp.tagext.JspTag _jspx_th_c_005fwhen_00
105108
* </ol>
106109
* @throws Throwable generic error
107110
*/
108-
@Ignore
109111
@Test
110112
public void runBenchmark() throws Throwable {
111113
long[] durations = new long[NUM_TESTS];

0 commit comments

Comments
 (0)