You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ja...@apache.org on 2022/05/22 02:25:18 UTC

[ant] branch master updated: go back to ignoring the ImageIOTest#testFailOnError() test, like it was for several years/releases before being moved from ImageTest to this new test class

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

jaikiran 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 42d257964 go back to ignoring the ImageIOTest#testFailOnError() test, like it was for several years/releases before being moved from ImageTest to this new test class
42d257964 is described below

commit 42d25796451b28d8a96786847dfa633e08839fc0
Author: Jaikiran Pai <ja...@apache.org>
AuthorDate: Sun May 22 07:52:06 2022 +0530

    go back to ignoring the ImageIOTest#testFailOnError() test, like it was for several years/releases before being moved from ImageTest to this new test class
---
 .../org/apache/tools/ant/taskdefs/optional/image/ImageIOTest.java      | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/tests/junit/org/apache/tools/ant/taskdefs/optional/image/ImageIOTest.java b/src/tests/junit/org/apache/tools/ant/taskdefs/optional/image/ImageIOTest.java
index 537a4e8ff..de509053d 100644
--- a/src/tests/junit/org/apache/tools/ant/taskdefs/optional/image/ImageIOTest.java
+++ b/src/tests/junit/org/apache/tools/ant/taskdefs/optional/image/ImageIOTest.java
@@ -22,6 +22,7 @@ import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.BuildFileRule;
 import org.apache.tools.ant.util.FileUtils;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.junit.rules.ExpectedException;
@@ -131,6 +132,8 @@ public class ImageIOTest {
     }
 
     @Test
+    @Ignore("badimage.jpg used in this test doesn't" +
+            " trigger failures https://bugs.openjdk.java.net/browse/JDK-8287120")
     public void testFailOnError() {
         final String message = "Unsupported Image Type";
         thrown.expect(BuildException.class);