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

pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git


The following commit(s) were added to refs/heads/master by this push:
     new bc8bdb45 RAT-475: Do not perform any temp dir cleanup to not fail 
build randomly
bc8bdb45 is described below

commit bc8bdb45fbda7e0256015b0d0d201c6cb898707d
Author: P. Ottlinger <[email protected]>
AuthorDate: Thu Jan 22 21:24:57 2026 +0100

    RAT-475: Do not perform any temp dir cleanup to not fail build randomly
---
 .../src/test/java/org/apache/rat/anttasks/ReportOptionTest.java      | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportOptionTest.java 
b/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportOptionTest.java
index c7c91612..9ad73463 100644
--- 
a/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportOptionTest.java
+++ 
b/apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportOptionTest.java
@@ -38,6 +38,7 @@ import org.junit.jupiter.api.AfterAll;
 import org.junit.jupiter.api.condition.EnabledIf;
 import org.junit.jupiter.api.condition.EnabledOnOs;
 import org.junit.jupiter.api.condition.OS;
+import org.junit.jupiter.api.io.CleanupMode;
 import org.junit.jupiter.api.io.TempDir;
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.ArgumentsProvider;
@@ -56,7 +57,8 @@ import static org.junit.jupiter.api.Assertions.fail;
  * Tests to ensure the option setting works correctly.
  */
 public class ReportOptionTest  {
-    @TempDir
+    // RAT-475: Do no cleanup in order to prevent random build failures on 
ASF-Linux/GitHub nodes
+    @TempDir(cleanup = CleanupMode.NEVER)
     static Path testPath;
 
     static ReportConfiguration reportConfiguration;
@@ -90,7 +92,6 @@ public class ReportOptionTest  {
 
     @ParameterizedTest
     @ArgumentsSource(AntOptionsProvider.class)
-    // RAT-475: let's see how things evolve on GHA - 
@DisabledIf("isGitHubLinuxOrWindowsWithJava8")
     public void testOptionsUpdateConfig(String name, 
OptionCollectionTest.OptionTest test) {
         DefaultLog.getInstance().info("Running " + name);
         try {

Reply via email to