aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml/src
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2024-04-17 19:12:25 +0000
committerDominik Stadler <centic@apache.org>2024-04-17 19:12:25 +0000
commit1fb1d57ca84841116a1f85868626cbc58316d4ad (patch)
tree9f7e6d0a53b0ef5de68687a2c54158c5480fa1fb /poi-ooxml/src
parent4a3b92b305ad7a0c6e8a38d3567e2a86a330bae0 (diff)
downloadpoi-1fb1d57ca84841116a1f85868626cbc58316d4ad.tar.gz
poi-1fb1d57ca84841116a1f85868626cbc58316d4ad.zip
Comment out one more flaky assertion
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917073 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-ooxml/src')
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFDataFormat.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFDataFormat.java b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFDataFormat.java
index bc6ddf0c62..f73060c917 100644
--- a/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFDataFormat.java
+++ b/poi-ooxml/src/test/java/org/apache/poi/xssf/usermodel/TestXSSFDataFormat.java
@@ -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));
+ */
}
}
}