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

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git


The following commit(s) were added to refs/heads/master by this push:
     new ae9b2451c remove flaky test
ae9b2451c is described below

commit ae9b2451ce95f35eff8fd39e7d18b3f69c78a7bb
Author: Stefan Bodewig <[email protected]>
AuthorDate: Fri Aug 14 07:10:36 2026 +0200

    remove flaky test
---
 src/etc/testcases/taskdefs/style/build.xml                  | 13 -------------
 .../junit/org/apache/tools/ant/taskdefs/StyleTest.java      |  7 -------
 2 files changed, 20 deletions(-)

diff --git a/src/etc/testcases/taskdefs/style/build.xml 
b/src/etc/testcases/taskdefs/style/build.xml
index 959e61646..81603a37c 100644
--- a/src/etc/testcases/taskdefs/style/build.xml
+++ b/src/etc/testcases/taskdefs/style/build.xml
@@ -87,19 +87,6 @@
     </xslt>
   </target>
 
-  <target name="testNewerStylesheet">
-      <antcall target="copyXsl">
-        <param name="xsl.value" value="old-value"/>
-      </antcall>
-      <xslt in="data.xml" out="${output}/out.xml" style="tmp.xsl"/>
-
-      <antcall target="copyXsl">
-        <param name="xsl.value" value="new-value"/>
-      </antcall>
-      <xslt in="data.xml" out="${output}/out.xml" style="tmp.xsl" 
granularity="0"/>
-      <delete file="tmp.xsl"/>
-  </target>
-
   <target name="testDirectoryHierarchyWithDirMatching">
     <mkdir dir="${output}/src/level1/"/>
     <copy file="data.xml" todir="${output}/src/level1/"/>
diff --git a/src/tests/junit/org/apache/tools/ant/taskdefs/StyleTest.java 
b/src/tests/junit/org/apache/tools/ant/taskdefs/StyleTest.java
index 001b6cda3..4e2224da0 100644
--- a/src/tests/junit/org/apache/tools/ant/taskdefs/StyleTest.java
+++ b/src/tests/junit/org/apache/tools/ant/taskdefs/StyleTest.java
@@ -92,13 +92,6 @@ public class StyleTest {
                            "undefined='undefined default value'");
     }
 
-    @Test
-    public void testNewerStylesheet() throws Exception {
-        expectFileContains("testNewerStylesheet",
-                           buildRule.getOutputDir().getAbsoluteFile() + 
"/out.xml",
-                           "new-value");
-    }
-
     @Test
     public void testDefaultMapper() throws Exception {
         testDefaultMapper("testDefaultMapper");

Reply via email to