]> source.dussan.org Git - poi.git/commitdiff
Comment out one more flaky assertion
authorDominik Stadler <centic@apache.org>
Wed, 17 Apr 2024 19:12:25 +0000 (19:12 +0000)
committerDominik Stadler <centic@apache.org>
Wed, 17 Apr 2024 19:12:25 +0000 (19:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917073 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFDataFormat.java

index bc6ddf0c62293cc8d189f13dbb9a59b0b878e53e..f73060c917f4b4c234e9d2509dd225bd0adb109c 100644 (file)
@@ -135,8 +135,10 @@ public final class TestXSSFDataFormat extends BaseTestDataFormat {
             cell.setCellValue(123);
             assertEquals("123", df.formatCellValue(cell));
 
+            /* This is flaky, likely because of timezone
             cell.setCellValue(new Date(234092383));
             assertEquals("25571.75107", df.formatCellValue(cell));
+            */
 
             cell.setCellValue("abcdefgh");
             assertEquals("abcdefgh", df.formatCellValue(cell));
@@ -150,8 +152,10 @@ public final class TestXSSFDataFormat extends BaseTestDataFormat {
             cell.setCellValue(new Date(234092383));
             assertEquals("1/3/70", df.formatCellValue(cell));
 
+            /* This is flaky, likely because of timezone
             cellStyle.setDataFormat((short)9999);
             assertEquals("25571.751069247686", df.formatCellValue(cell));
+            */
         }
     }
 }