Skip to content

Commit 948bbb7

Browse files
committed
Temporarily disable test that fails on Windows Server 2025 and Windows 11
DEVSIX-9261
1 parent adfa4fc commit 948bbb7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pdfocr-tesseract4/src/test/java/com/itextpdf/pdfocr/tesseract4/ImageIntegrationTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ This file is part of the iText (R) project.
2727
import com.itextpdf.pdfocr.TextInfo;
2828
import org.junit.jupiter.api.Assertions;
2929
import org.junit.jupiter.api.BeforeEach;
30+
import org.junit.jupiter.api.Disabled;
3031
import org.junit.jupiter.api.Test;
3132
import org.slf4j.Logger;
3233
import org.slf4j.LoggerFactory;
@@ -88,6 +89,7 @@ public void testHocrRotatedImage() throws IOException {
8889
}
8990

9091
@Test
92+
@Disabled("DEVSIX-9261 Investigate test failures on Windows Server 2025 and Windows 11")
9193
public void compareRotatedImage() throws InterruptedException, IOException {
9294
String testName = "compareRotatedImage";
9395
String filename = "90_degrees_rotated";
@@ -109,7 +111,7 @@ public void compareRotatedImage() throws InterruptedException, IOException {
109111
Arrays.<String>asList("eng"), Arrays.<String>asList(NOTO_SANS_FONT_PATH),
110112
null, true);
111113

112-
// Because of difference of tesseract 5 and tesseract 4 there're some differences in text recognition.
114+
// Because of difference of tesseract 5 and tesseract 4 there are some differences in text recognition.
113115
// So the goal of this test is to make text invisible and check if image is rotated.
114116
// Proper text recognition is compared in testHocrRotatedImage test by checking HOCR file.
115117
boolean javaTest = new CompareTool().compareVisually(resultPdfPath, expectedPdfPathJava,

0 commit comments

Comments
 (0)