aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/src/test/scala/org/apache/spark/status/api/v1/SimpleDateParamSuite.scala (renamed from core/src/test/scala/org/apache/spark/status/api/v1/SimpleDateParamTest.scala)6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/test/scala/org/apache/spark/status/api/v1/SimpleDateParamTest.scala b/core/src/test/scala/org/apache/spark/status/api/v1/SimpleDateParamSuite.scala
index 5274df904d..731d1f557e 100644
--- a/core/src/test/scala/org/apache/spark/status/api/v1/SimpleDateParamTest.scala
+++ b/core/src/test/scala/org/apache/spark/status/api/v1/SimpleDateParamSuite.scala
@@ -18,12 +18,12 @@ package org.apache.spark.status.api.v1
import org.scalatest.{Matchers, FunSuite}
-class SimpleDateParamTest extends FunSuite with Matchers {
+class SimpleDateParamSuite extends FunSuite with Matchers {
test("date parsing") {
new SimpleDateParam("2015-02-20T23:21:17.190GMT").timestamp should be (1424474477190L)
- new SimpleDateParam("2015-02-20T17:21:17.190CST").timestamp should be (1424474477190L)
- new SimpleDateParam("2015-02-20").timestamp should be (1424390400000L) // GMT
+ new SimpleDateParam("2015-02-20T17:21:17.190EST").timestamp should be (1424470877190L)
+ new SimpleDateParam("2015-02-20").timestamp should be (1424390400000L) // GMT
}
}