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

emilles pushed a commit to branch ant-task-tests
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/ant-task-tests by this push:
     new d61fc5cbff GROOVY-11666: enable test
d61fc5cbff is described below

commit d61fc5cbff7792f1c70d1dc08f86224869aaa0a0
Author: Eric Milles <eric.mil...@thomsonreuters.com>
AuthorDate: Fri Jul 18 07:50:11 2025 -0500

    GROOVY-11666: enable test
---
 .../src/test-resources/org/codehaus/groovy/ant/GroovycTest.xml         | 1 +
 .../src/test/groovy/org/codehaus/groovy/ant/GroovycTest.java           | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/subprojects/groovy-ant/src/test-resources/org/codehaus/groovy/ant/GroovycTest.xml
 
b/subprojects/groovy-ant/src/test-resources/org/codehaus/groovy/ant/GroovycTest.xml
index 773b081701..fb3dbea2e3 100644
--- 
a/subprojects/groovy-ant/src/test-resources/org/codehaus/groovy/ant/GroovycTest.xml
+++ 
b/subprojects/groovy-ant/src/test-resources/org/codehaus/groovy/ant/GroovycTest.xml
@@ -209,6 +209,7 @@
         <fail if="boo" message="GroovycTest3.groovy was re-compiled"/>
 
         <touch file="GroovycTest3.groovy"/>
+        <sleep seconds="3"/>
 
         <local name="yay"/>
         <compile-plain fork="true" includeantruntime="false" 
includes="**/GroovycTest3.groovy" updatedProperty="yay"/>
diff --git 
a/subprojects/groovy-ant/src/test/groovy/org/codehaus/groovy/ant/GroovycTest.java
 
b/subprojects/groovy-ant/src/test/groovy/org/codehaus/groovy/ant/GroovycTest.java
index 149e17b30e..8b11b25044 100644
--- 
a/subprojects/groovy-ant/src/test/groovy/org/codehaus/groovy/ant/GroovycTest.java
+++ 
b/subprojects/groovy-ant/src/test/groovy/org/codehaus/groovy/ant/GroovycTest.java
@@ -22,7 +22,6 @@ import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Project;
 import org.apache.tools.ant.ProjectHelper;
 import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
 import java.io.ByteArrayOutputStream;
@@ -351,7 +350,7 @@ final class GroovycTest {
     }
 
     // GROOVY-11666
-    @Disabled @Test
+    @Test
     void testRestrictionForIncrementalCompilation() {
         ensureNotPresent("GroovycTest3");
         ensureNotPresent("GroovycTest3Peer");

Reply via email to