From 28cfd161d27b57e30626e4806339da5221b40659 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Thu, 9 Jul 2015 10:31:13 +0000 Subject: [PATCH] Some timezones do not even roundtrip (like Mideast/Riyadh87), so disable the completely random timezone test git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690052 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/test/org/apache/solr/common/util/TestDateUtil.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/solr/solrj/src/test/org/apache/solr/common/util/TestDateUtil.java b/solr/solrj/src/test/org/apache/solr/common/util/TestDateUtil.java index c03d2541922..4252b9348ee 100644 --- a/solr/solrj/src/test/org/apache/solr/common/util/TestDateUtil.java +++ b/solr/solrj/src/test/org/apache/solr/common/util/TestDateUtil.java @@ -18,18 +18,12 @@ package org.apache.solr.common.util; */ import java.text.ParseException; -import java.util.Date; import java.util.Locale; import org.apache.lucene.util.LuceneTestCase; public class TestDateUtil extends LuceneTestCase { - public void testDateToString() throws ParseException { - long ts = 1226583351000L; - assertParsedDate(ts, new Date(ts).toString()); - } - public void testParseDate() throws ParseException { assertParsedDate(1226583351000L, "Thu Nov 13 04:35:51 AKST 2008"); }