aboutsummaryrefslogtreecommitdiff
path: root/sql/core
diff options
context:
space:
mode:
authorhyukjinkwon <gurwls223@gmail.com>2016-11-05 13:41:35 +0100
committerHerman van Hovell <hvanhovell@databricks.com>2016-11-05 13:41:35 +0100
commita87471c83006ec11c372b4f915e17a0501f1f536 (patch)
treed098d8b17a5983b0c3325b006438655c0063f930 /sql/core
parente2648d35577c9664968cf6da5069277dbfb410d2 (diff)
downloadspark-a87471c83006ec11c372b4f915e17a0501f1f536.tar.gz
spark-a87471c83006ec11c372b4f915e17a0501f1f536.tar.bz2
spark-a87471c83006ec11c372b4f915e17a0501f1f536.zip
[SPARK-18192][MINOR][FOLLOWUP] Missed json test in FileStreamSinkSuite
## What changes were proposed in this pull request? This PR proposes to fix ```diff test("FileStreamSink - json") { - testFormat(Some("text")) + testFormat(Some("json")) } ``` `text` is being tested above ``` test("FileStreamSink - text") { testFormat(Some("text")) } ``` ## How was this patch tested? Fixed test in `FileStreamSinkSuite.scala`. Author: hyukjinkwon <gurwls223@gmail.com> Closes #15785 from HyukjinKwon/SPARK-18192.
Diffstat (limited to 'sql/core')
-rw-r--r--sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala
index 0f140f94f6..fa97d9292e 100644
--- a/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala
+++ b/sql/core/src/test/scala/org/apache/spark/sql/streaming/FileStreamSinkSuite.scala
@@ -152,7 +152,7 @@ class FileStreamSinkSuite extends StreamTest {
}
test("FileStreamSink - json") {
- testFormat(Some("text"))
+ testFormat(Some("json"))
}
def testFormat(format: Option[String]): Unit = {